// Use this for initialization void Awake() { PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeGrab, OnTypeGrab); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypePass, OnTypePass); PdkGameManager.AddOnServResponseEvtDic(GlobalConstKey.TypeOutCard, OnTypeOutCard); Ddz2RemoteServer.AddOnVoiceChatEvt(OnUserSpeak); }
void Awake() { Ddz2RemoteServer.AddOnVoiceChatEvt(OnUserSpeak); }
protected override void OnAwake() { Ddz2RemoteServer.AddOnVoiceChatEvt(OnUserSpeak); }