/// <summary>
 /// ����߼�����
 /// </summary>
 protected virtual void addEvent()
 {
     EventDispatcher.AddEventListener <string>(GameEventDef.EVNET_ASYNC_LOADING, OnEventAsyncLoading);
 }
Exemple #2
0
 /// <summary>
 /// 添加逻辑监听
 /// </summary>
 protected virtual void addEvent()
 {
     //EventDispatcher.AddEventListener(GameEventDef.EVNET_PER_FRAME_UPDATE, UpdatePerFrame);
     //EventDispatcher.AddEventListener(GameEventDef.EVNET_FIX_FRAME_UPDATE, UpdateFixFrame);
     EventDispatcher.AddEventListener(GameEventDef.EVNET_ENDING_SHOW, OnEventShow);
 }
Exemple #3
0
 /// <summary>
 /// 添加逻辑监听
 /// </summary>
 protected virtual void addEvent()
 {
     EventDispatcher.AddEventListener <string>(GameEventDef.EVNET_CONDITION_SHOW, OnEventShow);
     EventDispatcher.AddEventListener(GameEventDef.EVNET_CONDITION_CLOSE, OnEventClose);
 }
Exemple #4
0
 /// <summary>
 /// 添加逻辑监听
 /// </summary>
 protected virtual void addEvent()
 {
     EventDispatcher.AddEventListener(GameEventDef.EVNET_PER_FRAME_UPDATE, UpdatePerFrame);
     EventDispatcher.AddEventListener(GameEventDef.EVNET_FIX_FRAME_UPDATE, UpdateFixFrame);
     EventDispatcher.AddEventListener(GameEventDef.EVNET_PLAY_MOVIE, OnEventPlayMovie);
 }