![]() |
Public Member Functions | |
virtual void | NetworkStart () |
virtual void | NetworkDestroy () |
virtual void | NetworkUpdate () |
virtual void | NetworkRender () |
virtual void | NetworkFixedUpdate () |
Properties | |
NetworkSandbox | Sandbox [get, set] |
NetworkObject | Object [get, set] |
|
virtual |
Called when this behaviour has been removed from the simulation.
|
virtual |
Called every fixed-time network update/tick. Any changes/updates to the network state must happen here.
On the client, if you are the Input Source or if this Object.PredictionMode is set to Everyone, it will be called several times in one update/tick during resimulations. To check for resimulations, use [IsResimulating].
Reimplemented in Netick.NetworkRigidbody, Netick.NetworkRigidbody2D, Netick.PhysicsSimulationStep, and Netick.LagCompensation.
|
virtual |
Called every frame. Executed after NetworkUpdate and NetworkFixedUpdate. para>IMPORTANT NOTE: properties (which can be interpolated) marked with [Smooth] attribute will return interpolated values when accessed in this method.
Reimplemented in Netick.NetworkTransform, and Netick.LagCompensation.
|
virtual |
Called when this behaviour has been added to the simulation. And if it's attached to a NetworkObject, it means Object has been given a valid network id.
Reimplemented in Netick.NetworkRigidbody, Netick.NetworkRigidbody2D, and Netick.NetworkTransform.
|
virtual |
Called every frame. Executed before NetworkFixedUpdate.
|
getset |
The NetworkObject this behaviour is attached to.
|
getset |
The NetworkSandbox containing this Object.