Version: 5.4
public void OnStartAuthority ();

説明

これは、コンテキストと NetworkIdentity の NetworkIdentity.localPlayerAuthority 値を元にして、権限のある NetworkBehaviour を実行します。

これは OnStartServerOnStartClient の後に呼び出されます。

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.