Пример #1
0
 override public void init()
 {
     instance = this;
     this.g_mgr.g_gameM.addEventListenerCL(
         OBJECT_NAME.LG_JOIN_WORLD,
         GAME_EVENT.ON_ENTER_GAME,
         onJoinWorld
         );
 }
Пример #2
0
 public override void init()
 {
     LGCamera.instance = this;
     this.g_mgr.g_gameM.addEventListenerCL("LG_JOIN_WORLD", 3034u, new Action <GameEvent>(this.onJoinWorld));
 }