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