void Awake() { //InitSimulationCard(); instance = this; battleProxy = ApplicationFacade.Instance.RetrieveProxy(Proxys.BATTLE_PROXY) as BattleProxy; gameMgrProxy = ApplicationFacade.Instance.RetrieveProxy(Proxys.GAMEMGR_PROXY) as GameMgrProxy; playerInfoProxy = ApplicationFacade.Instance.RetrieveProxy(Proxys.PLAYERINFO) as PlayerInfoProxy; Application.logMessageReceived += HandleLog; }
void Awake() { instance = this; battleProxy = ApplicationFacade.Instance.RetrieveProxy(Proxys.BATTLE_PROXY) as BattleProxy; gameMgrProxy = ApplicationFacade.Instance.RetrieveProxy(Proxys.GAMEMGR_PROXY) as GameMgrProxy; playerInfoProxy = ApplicationFacade.Instance.RetrieveProxy(Proxys.PLAYER_PROXY) as PlayerInfoProxy; Application.logMessageReceived += HandleLog; for (int i = 0; i < GlobalData.CardWare.Length; i++) { GlobalData.Test127Queue.Enqueue(GlobalData.CardWare[i]); } for (int i = 0; i < defaultCardIndex.Length; i++) { defaultCardIndex[i] = GlobalData.Test127Queue.Dequeue(); } }