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. | |
void | FindRecognizedTypes () |
Finds visual/audio components on this GameObject, and adds them to the Components collection. | |
Public Member Functions inherited from Behaviour | |
T | AddBehaviour< T > () |
Wrapper for Unity's GameObject.AddComponent() | |
T | GetBehaviour< T > () |
Wrapper for Unity's GameObject.GetComponentInChildren() | |
bool | TryGetBehaviour< T > (out T behaviour) |
Wrapper for Unity's GameObject.TryGetComponent() | |
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. | |
RunnerVisibilityNode.PreferredRunners | PreferredRunner |
If more than one runner instance is visible, this indicates which peer's clone of this entity should be visible. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Behaviour | |
static void | DestroyBehaviour (Behaviour behaviour) |
Wrapper for Unity's GameObject.Destroy() | |
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.