private void Awake() { punTurnManager.TurnManagerListener = this; roundCallbacks = this; turnCycle = new TurnCycle(); TurnStartNotify = GameObject.Find("TurnStartNotify").GetComponent <TurnStartNotify>(); }
// 턴이 시작되었음을 알려주는 패킷 처리. private void OnTurnStartNotify(TurnStartNotify receivedPacket) { // TODO :: 턴 시작시 바람 얻어와서 적용. _gameTimer.TurnStart(); StartCoroutine("OnTurnChanged", false); }