Automatically adds a RunnerVisibilityNode for each indicated component. These indicated components will be limited to no more than one enabled instance when running in Multi-Peer mode. More...
Inherits Behaviour.
Public Member Functions | |
void | FindNestedRecognizedTypes () |
Finds visual/audio nested components on this GameObject and its children, and adds them to the Components collection. More... | |
void | FindRecognizedTypes () |
Finds visual/audio components on this GameObject, and adds them to the Components collection. More... | |
Public Member Functions inherited from Behaviour | |
T | AddBehaviour< T > () |
Wrapper for Unity's GameObject.AddComponent() More... | |
T | GetBehaviour< T > () |
Wrapper for Unity's GameObject.GetComponentInChildren() More... | |
bool | TryGetBehaviour< T > (out T behaviour) |
Wrapper for Unity's GameObject.TryGetComponent() More... | |
Public Attributes | |
UnityEngine.Component[] | Components = new Component[0] |
Collection of components that will be marked for Multi-Peer mode as objects that should only have one enabled instance. More... | |
RunnerVisibilityNode.PreferredRunners | PreferredRunner |
If more than one runner instance is visible, this indicates which peer's clone of this entity should be visible. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Behaviour | |
static void | DestroyBehaviour (Behaviour behaviour) |
Wrapper for Unity's GameObject.Destroy() More... | |
Automatically adds a RunnerVisibilityNode for each indicated component. These indicated components will be limited to no more than one enabled instance when running in Multi-Peer mode.
void FindNestedRecognizedTypes | ( | ) |
Finds visual/audio nested components on this GameObject and its children, and adds them to the Components collection.
void FindRecognizedTypes | ( | ) |
Finds visual/audio components on this GameObject, and adds them to the Components collection.
UnityEngine.Component [] Components = new Component[0] |
Collection of components that will be marked for Multi-Peer mode as objects that should only have one enabled instance.
RunnerVisibilityNode.PreferredRunners PreferredRunner |
If more than one runner instance is visible, this indicates which peer's clone of this entity should be visible.