void Awake()
 {
     Sv_Storage      = this;
     B_Storages      = new List <BattleStorage> ();
     this.Groups     = new List <List <PhotonPlayer> > ();
     this.activeUser = new List <ServerPlayer> ();
     this.userBattle = new List <int[, ]> ();
 }
示例#2
0
 void Awake()
 {
     if (instance != null)
     {
         Debug.LogError("More than one ServerStorage");
     }
     else
     {
         instance = this;
     }
 }