Subclass of Ovr.OvrNode
This is the representation of an Object present in a Scene. It's closely related to UnityEngine.Monobehaviour, a kind of GameObject, and used to manage how a selected object should behave during its lifetime.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
OnDisableNodes
: is still executed just before executing OnDestroyNodes.
OnEnableNodes
: is still executed just after executing OnStartNodes.
OnAwakeNodes
Collection of OvrNodes which have to be executed once the OvrObject Component is loaded during Play (similar to the Awake function in Unity).
OnDestroyNodes
Collection of OvrNodes which have to be executed once the OvrObject Component is destroyed during Play (similar to OnDestroy function in Unity).
OnDisableNodes
Collection of OvrNodes which have to be executed once the OvrObject Component is disabled/deactivated during Play (similar to OnDisable function in Unity).
OnEnableNodes
Collection of OvrNodes which have to be executed once the OvrObject Component is enabled/activated during Play (similar to OnEnable function in Unity).
OnStartNodes
Collection of OvrNodes which have to be executed once the OvrObject Component is set to the first frame during Play (similar to Start function in Unity).
Subclass of Ovr.OvrNode
This Node is used to correctly create and place a specific Object (GameObject or Unity Prefab) into a Scene. Also has the ability to keep the references of all instances of the Object created during Play time.
Note: the following attributes are added to the existing ones from the super class
Name | Type | Description |
---|
DestroyTarget | Destroy target with all of its children |
DestroyAllTargetChildren | Destroy only target's children |
Prefab | OvrObject to instantiate. Can be present in Scene or stored in the Project Assets Folder as a Prefab. |
Parent | Transform | Parent Object (Unity Transform), under which you instantiate the OvrObject |
OnDisableNodes | Collection of OvrNodes which have to be executed once the OvrObject Component is disabled/deactivated during Play (similar to OnDisable function in Unity). |
NewOvrObjects | Collection of OvrObjects, instantiated from this Component. |
Subclass of Ovr.OvrNode
This Node is used to correctly dispose of an Object present in the Scene. Has the option to destroy either the target object or just its children.
Note: the following attributes are added to the existing ones from the super class OvrNode
Name | Type | Description |
---|---|---|
DestroyType
Type of behaviour expected from this Component.
Target
GameObject
Target Object to destroy.
TimeBeforeDestroy
OvrFloat
Time, in seconds, before destruction.