Exemple #1
0
 public LoadingMapScreen() : base(nameof(LoadingMapScreen))
 {
     if (instance != null)
     {
         instance.DisableImmediate();
     }
     instance = this;
 }
Exemple #2
0
 public LoadingMapScreen() : base(nameof(LoadingMapScreen))
 {
     if (instance != null)
     {
         instance.DisableImmediate();
     }
     NetworkingPeer.RegisterEvent(PhotonNetworkingMessage.OnLeftRoom, OnLeftRoom);
     instance = this;
 }