public void Update() { if (PhotonNetwork.IsConnected) { if (!PhotonNetwork.IsMasterClient) { return; } } modeController.Update(); }