 Photon Fusion
        
        
            2.0.8
        
            Photon Fusion
        
        
            2.0.8
        
    Base class for a Fusion aware Behaviour (derived from UnityEngine.MonoBehavour). If a SimulationBehaviour is found on a NetworkRunner game object during the runner initialisation, the SimulationBehaviour is automatically registered. Objects derived from this object can be associated with a NetworkRunner and Simulation using NetworkRunner.AddGlobal(). More...
Inherits Behaviour.
Inherited by HitboxManager, and NetworkBehaviour.
| Public Member Functions | |
| virtual void | FixedUpdateNetwork () | 
| Fusion FixedUpdate timing callback.  More... | |
| virtual void | Render () | 
| Post simulation frame rendering callback. Runs after all simulations have finished. Use in place of Unity's Update when Fusion is handling Physics.  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... | |
| Properties | |
| bool | CanReceiveRenderCallback  [get] | 
| Gets a value indicating whether this instance can receive render callbacks.  More... | |
| bool | CanReceiveSimulationCallback  [get] | 
| Gets a value indicating whether this instance can receive simulation callbacks.  More... | |
| NetworkObject | Object  [get] | 
| The NetworkObject this component is associated with. Not applicable to SimulationBehaviours as they cannot be associated with a NetworkObject.  More... | |
| NetworkRunner | Runner  [get] | 
| The NetworkRunner this component is associated with.  More... | |
| Additional Inherited Members | |
|  Static Public Member Functions inherited from Behaviour | |
| static void | DestroyBehaviour (Behaviour behaviour) | 
| Wrapper for Unity's GameObject.Destroy()  More... | |
Base class for a Fusion aware Behaviour (derived from UnityEngine.MonoBehavour). If a SimulationBehaviour is found on a NetworkRunner game object during the runner initialisation, the SimulationBehaviour is automatically registered. Objects derived from this object can be associated with a NetworkRunner and Simulation using NetworkRunner.AddGlobal().
| 
 | virtual | 
Fusion FixedUpdate timing callback.
Reimplemented in NetworkBehaviour.
| 
 | virtual | 
Post simulation frame rendering callback. Runs after all simulations have finished. Use in place of Unity's Update when Fusion is handling Physics.
Reimplemented in NetworkTransform, and NetworkMecanimAnimator.
| 
 | get | 
Gets a value indicating whether this instance can receive render callbacks.
true if this instance can receive render callbacks; otherwise, false. 
This property checks the current flags of the instance against various conditions to determine if it can receive render callbacks.
| 
 | get | 
Gets a value indicating whether this instance can receive simulation callbacks.
true if this instance can receive simulation callbacks; otherwise, false. 
This property checks the current flags of the instance against various conditions to determine if it can receive simulation callbacks.
| 
 | get | 
The NetworkObject this component is associated with. Not applicable to SimulationBehaviours as they cannot be associated with a NetworkObject.
| 
 | get | 
The NetworkRunner this component is associated with.