OvrInstantiate
Subclass of Ovr.OvrNode
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 OvrNode
Name | Type | Description |
---|---|---|
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. |