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[, ]> (); }
void Awake() { if (instance != null) { Debug.LogError("More than one ServerStorage"); } else { instance = this; } }