예제 #1
0
        void Start()
        {
            mBackend = new CrossBackend();
            BackendManager.Init(mBackend);

            MyMessenger.Instance.AddListener(BackendMessages.LOGIN_SUCCESS, OnLoginSuccess);
            MyMessenger.Instance.AddListener <IBackendFailure>(BackendMessages.BACKEND_REQUEST_FAIL, OnBackendFailure);

            LoginStatusText.text = STATUS_WAITING_TO_CHOOSE;
        }