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