示例#1
0
 /// <summary>
 /// Set the authority to the spaceship and the camera according to
 /// <see cref="isLocalPlayer"/> result.
 /// </summary>
 private void SetAuthority()
 {
     spaceship.setLocalPlayer(isLocalPlayer);
     camera.setLocalPlayer(isLocalPlayer);
 }