Photon Fusion
2.1.1
Alternative base class to Unity's MonoBehaviour. This allows for components that work both in Unity, as well as the Photon relays. More...
Inherited by Hitbox, NetworkEvents, NetworkObject, NetworkObjectPrefabData, NetworkRunner, and SimulationBehaviour.
Public Member Functions | |
| 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(). | |
Static Public Member Functions | |
| static void | DestroyBehaviour (Behaviour behaviour) |
| Wrapper for Unity's GameObject.Destroy(). | |