Exemple #1
0
 private void Start()
 {
     if (!PhotonNetwork.IsConnected)
     {
         LoadingScreen.Instance.Show(SceneManager.LoadSceneAsync(m_fallBackLevel));
         return;
     }
     FirstPersonPlayer.RefreshInstance(ref LocalPlayer, PlayerPrefab, PlayerSpawn);
 }
Exemple #2
0
 public override void OnPlayerEnteredRoom(Photon.Realtime.Player newPlayer)
 {
     FirstPersonPlayer.RefreshInstance(ref LocalPlayer, PlayerPrefab, PlayerSpawn);
 }