Lifecycle Events
Last updated
Aside from the usual events in an AirshipBehaviour, the network behaviour adds the following you can use:
OnStartNetwork - Method called when the object starts networking
OnStopNetwork - Method called when the object stops networking
OnStartServer - Method called when the object starts networking on the server
OnOwnershipServer - Method called when the ownership of an object is changed on the server
OnSpawnServer - Method called when the object spawns on the server
OnDespawnServer - Method called when the object is despawned on the server
OnStopServer - Method called when the object stops networking on the server
OnStartClient - Method called when the object starts networking on the client
OnOwnershipClient - Method called when the ownership is changed on the client
OnStopClient - Method called when the object stops networking on the client

Last updated