/// <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); }