Beispiel #1
0
        private void setTutorialCat()
        {
            this.ArrowAchor = this.Tutorial.get_transform().FindChild("TutorialGuide/ArrowAchor");
            this.ArrowAchor.SetActive(true);
            int num = -1;

            for (int i = 0; i < this._dock.Length; i++)
            {
                if (this._dock[i].State == KdockStates.CREATE)
                {
                    num = i;
                    break;
                }
            }
            if (num == -1)
            {
                this.ArrowAchor.SetActive(false);
                return;
            }
            TweenAlpha.Begin(this.ArrowAchor.get_gameObject(), 0.2f, 1f);
            UiArsenalDock uiArsenalDock = TaskMainArsenalManager.dockMamager[num];

            this.ArrowAchor.set_parent(uiArsenalDock.get_transform().FindChild("ButtonHight"));
            this.ArrowAchor.set_localPosition(new Vector3(-126f, 0f, 0f));
            this.ArrowAchor.localEulerAnglesY(180f);
        }
Beispiel #2
0
        private void setTutorialCat()
        {
            ArrowAchor = Tutorial.transform.FindChild("TutorialGuide/ArrowAchor");
            ArrowAchor.SetActive(isActive: true);
            int num = -1;

            for (int i = 0; i < _dock.Length; i++)
            {
                if (_dock[i].State == KdockStates.CREATE)
                {
                    num = i;
                    break;
                }
            }
            if (num == -1)
            {
                ArrowAchor.SetActive(isActive: false);
                return;
            }
            TweenAlpha.Begin(ArrowAchor.gameObject, 0.2f, 1f);
            UiArsenalDock uiArsenalDock = dockMamager[num];

            ArrowAchor.parent        = uiArsenalDock.transform.FindChild("ButtonHight");
            ArrowAchor.localPosition = new Vector3(-126f, 0f, 0f);
            ArrowAchor.localEulerAnglesY(180f);
        }
Beispiel #3
0
 private void isCreated()
 {
     if (TaskMainArsenalManager.dockMamager == null)
     {
         return;
     }
     this._isCreate = true;
     UiArsenalDock[] array = TaskMainArsenalManager.dockMamager;
     for (int i = 0; i < array.Length; i++)
     {
         UiArsenalDock uiArsenalDock = array[i];
         uiArsenalDock.isCompleteVoicePlayable = true;
     }
 }