v2.26.0
Additions
- Script API: Following features has been added.
- RaycastResult.handle for detecting hit instance of PlayerHandle or ItemHandle.
- Collision.handle for detecting collided instance of PlayerHandle or ItemHandle.
- Overlap.handle for detecting overlapping instance of PlayerHandle or ItemHandle.
- PlayerHandle.type and ItemHandle.type for retrieving the handle type. For more information about handle, see Handles.
- UnityComponent.onClick to register a callback function that is called when a
Buttonin a Player Local UI is interacted. - These features are beta features. For more information about beta features, see Beta Features.
Generally available
- Script API: Following features are generally available.
- $.worldItemReference
- $.createItem (Only when create from WorldItemTemplateId)
- SubNode.getGlobalPosition
- SubNode.getGlobalRotation
Deprecated
- Script API: Following features will be removed in future release.
- RaycastResult.object
- Collision.object
- Overlap.object
- These features are beta features. For more information about beta features, see Beta Features.