Player
Beta
Readonly
nameThe name of the object.
Beta
Gets the handle of the child object of this object, by specified name.
This method ignores the objects with Item
component and its children.
Use ClusterScript or SubNode to control the object with Item
component.
The handle of the object with specified name, or null
if not found
Beta
Gets the handle of the Unity component attached to this object by type name. The available type names are defined in UnityComponent.
If the object has multiple components, returns first component.
This method throws error if the object is a parent or child of Item
.
This is a restriction to avoid control conflicts with Item
components and Scriptable Item
.
The component specified by type name, or null
if not found
Sets the object's activeness. When the object is inactive, the object and all its children will not be rendered.
This method throws error if the object is a parent or child of Item
.
This is a restriction to avoid control conflicts with Item
components and Scriptable Item
.
true to activate the object, false otherwise
Generated using TypeDoc
The handle of the object which can be referred in Player Script.