Alternative base class to Unity's MonoBehaviour. This allows for components that work both in Unity, as well as the Photon relays.
More...
Inherits MonoBehaviour.
Inherited by Hitbox, NetworkEvents, NetworkObject, NetworkRunner, RunnerVisibilityNodes, and SimulationBehaviour.
Alternative base class to Unity's MonoBehaviour. This allows for components that work both in Unity, as well as the Photon relays.
◆ AddBehaviour< T >()
Wrapper for Unity's GameObject.AddComponent()
◆ DestroyBehaviour()
static void DestroyBehaviour |
( |
Behaviour |
behaviour | ) |
|
|
static |
Wrapper for Unity's GameObject.Destroy()
◆ GetBehaviour< T >()
Wrapper for Unity's GameObject.GetComponentInChildren()
◆ TryGetBehaviour< T >()
bool TryGetBehaviour< T > |
( |
out T |
behaviour | ) |
|
Wrapper for Unity's GameObject.TryGetComponent()