Method group is Obsolete

NetworkBehaviour.OnStartAuthority

Cambiar al Manual
Obsolete public void OnStartAuthority ();

Descripción

Es invocado en comportamientos que tienen autoridad, basado en el contexto y en el valor LocalPlayerAuthority que haya en NetworkIdentity.

Es llamado luego de OnStartServer y OnStartClient.

When NetworkIdentity.AssignClientAuthority is called on the server, this will be called on the client that owns the object. When an object is spawned with NetworkServer.SpawnWithClientAuthority, this will be called on the client that owns the object.