(Redirected from ObjectRoot (Component))
Component image File:ObjectRootComponent.pngObject Root component as seen in the Scene Inspector
The ObjectRoot component marks a slot as the root of an object, where an object is the slot itself plus all of its child slots, recursively.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
RemoveChildrenObjectRoots:ButtonEventHandler
|
ButtonEventHandler | ✓ | will recursively delete any ObjectRoot components from this slot's children. |
RemoveChildrenObjectRoots:Func`1<Int>
|
Func`1<Int> | X | will recursively delete any ObjectRoot components from this slot's children. |
Usage
Setting a slot as the ObjectRoot helps the Scene Inspector's "up to object root" button find the root of the object.