示例#1
0
 private void OnSceneCompleted()
 {
     _manager.mainPanel.GetComponent <CanvasGroup>().alpha           = 1;
     _manager.mainPanel.GetComponentInChildren <CanvasGroup>().alpha = 1;
     _manager.Clear();
     GoNext();
 }
示例#2
0
 public void RunEnd(Action onEndCompleted)
 {
     _manager.mainPanel.GetComponent <CanvasGroup>().DOFade(0, 1.5f)
     .OnComplete(() => {
         _manager.Clear();
         onEndCompleted.Invoke();
     });
 }
示例#3
0
        public void RunEnd(Action onEndCompleted)
        {
            _manager.mainPanel.GetComponent <CanvasGroup>().DOFade(0, 1.5f)
            .OnComplete(() => {
                _hasInit = false;
                _magicSceneManager._videoBetweenImageController.StopPlay();

                _manager.Clear();
                onEndCompleted.Invoke();
            });
        }
示例#4
0
        public void RunEnd(Action onEndCompleted)
        {
            // 渐暗,清理
            _manager.BgLogo.GetComponent <Image>().sprite = _manager.magicSceneManager.logo;

            _manager.mainPanel.GetComponent <CanvasGroup>().DOFade(0, 1.5f)
            .OnComplete(() => {
                _hasInitData = false;
                _manager.Clear();
                onEndCompleted.Invoke();
            });
        }