OnConnectedToServer |
Called on the client when you have successfully connected to a server. |
OnDisconnectedFromServer |
Called on client during disconnection from server, but also on the server when the connection has disconnected. |
OnFailedToConnect |
Called on the client when a connection attempt fails for some reason. |
OnNetworkInstantiate |
Called on objects which have been network instantiated with Network.Instantiate. |
OnPlayerConnected |
Called on the server whenever a new player has successfully connected. |
OnPlayerDisconnected |
Called on the server whenever a player is disconnected from the server. |
OnSerializeNetworkView |
Used to customize synchronization of variables in a script watched by a network view. |
OnServerInitialized |
Called on the server whenever a Network.InitializeServer was invoked and has completed. |