Base class for a Fusion aware Behaviour (derived from UnityEngine.MonoBehavour). Objects derived from this object can be associated with a NetworkRunner and Simulation. If a parent NetworkObject is found, this component will also be associated with that network entity.
More...
Inherits Behaviour, and ILogBuilder.
Inherited by HitboxManager, NetworkBehaviour, NetworkPhysicsSimulation2D, and NetworkPhysicsSimulation3D.
|
bool | CanReceiveCallback [get] |
|
virtual bool? | HasInputAuthority [get] |
| Returns true if the Simulation.LocalPlayer of the associated NetworkRunner is the designated as Input Authority for this network entity. More...
|
|
virtual bool? | HasStateAuthority [get] |
| Returns true if the associated NetworkRunner is the State Authority for this network entity. More...
|
|
virtual bool? | IsProxy [get] |
| Returns true if the associated NetworkRunner is neither the Input nor State Authority for this network entity. It is recommended to use !HasStateAuthority or !HasInputAuthority when possible instead, as this check requires evaluating both authorities - and is therefore less performant than the individual checks. More...
|
|
Base class for a Fusion aware Behaviour (derived from UnityEngine.MonoBehavour). Objects derived from this object can be associated with a NetworkRunner and Simulation. If a parent NetworkObject is found, this component will also be associated with that network entity.
◆ FixedUpdateNetwork()
virtual void FixedUpdateNetwork |
( |
| ) |
|
|
virtual |
◆ Render()
◆ Object
◆ Runner
◆ HasInputAuthority
virtual bool? HasInputAuthority |
|
get |
Returns true if the Simulation.LocalPlayer of the associated NetworkRunner is the designated as Input Authority for this network entity.
◆ HasStateAuthority
virtual bool? HasStateAuthority |
|
get |
Returns true if the associated NetworkRunner is the State Authority for this network entity.
◆ IsProxy
Returns true if the associated NetworkRunner is neither the Input nor State Authority for this network entity. It is recommended to use !HasStateAuthority or !HasInputAuthority when possible instead, as this check requires evaluating both authorities - and is therefore less performant than the individual checks.