protected override void OnAwake() { Instance = this; PdkGameManager.AddOnGameInfoEvt(OnGameInfo); PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame); Ddz2RemoteServer.AddOnGameOverEvt(OnGameOverEvt); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeAllocate, OnAlloCateCds); }
protected override void OnAwake() { PdkGameManager.AddOnGetRejoinDataEvt(OnRejoinGame); Ddz2RemoteServer.AddOnHandUpEvt(OnHandUpEvt); Ddz2RemoteServer.AddOnGameOverEvt(OnGameOverEvt); }