Method group is Obsolete

NetworkBehaviour.OnStartClient

Cambiar al Manual
Obsolete public void OnStartClient ();

Descripción

Called on every NetworkBehaviour when it is activated on a client.

Objects on the host have this function called, as there is a local client on the host. The values of SyncVars on object are guaranteed to be initialized correctly with the latest state from the server when this function is called on the client.