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