Beispiel #1
0
    void Awake()
    {
        eventSys = DuelEventSys.GetInstance;

        gameHallHandler = GameHallHandler.GetInstance();
        loginHandler    = LoginHandler.GetInstance();
        errorManager    = ErrorManager.GetInstance();
        duelHandler     = DuelHandler.GetInstance();

        errorManager.Init();
        loginHandler.Init();
        gameHallHandler.Init();
        //AccountInfoDTO dto = new AccountInfoDTO();
        //dto.account = "2";
        //dto.password = "******";
        //NetWorkScript.Instance.write(LoginProtool.LOGIN_CREQ, 1, 2, dto);
    }
Beispiel #2
0
 public GameHallHandler()
 {
     instance = this;
 }