예제 #1
0
        private void ModifyConnectImageStatusFail()
        {
            ConnectingContent.gameObject.SetActive(false);
            TextConnect.text = "绑定失败";
            ConnectIngImage.SetInteger("type", 2);

            Observable.Timer(TimeSpan.FromSeconds(2))
            .Subscribe(_ =>
            {
                Back();
            }).AddTo(this);
        }
예제 #2
0
        private void ModifyConnectImageStatueSuccess()
        {
            Log.I("ModifyConnectImageStatueSuccess");
            ConnectingContent.gameObject.SetActive(false);
            TextConnect.text = "绑定成功";
            ConnectIngImage.SetInteger("type", 1);
            Log.I("ConnectIngImage");

            Observable.Timer(TimeSpan.FromSeconds(2))
            .Subscribe(_ =>
            {
                ShowMainPanel();
            }).AddTo(this);
        }