Ejemplo n.º 1
0
 private void OnSceneCompleted()
 {
     _manager.mainPanel.GetComponent <CanvasGroup>().alpha           = 1;
     _manager.mainPanel.GetComponentInChildren <CanvasGroup>().alpha = 1;
     _manager.Clear();
     GoNext();
 }
Ejemplo n.º 2
0
 public void RunEnd(Action onEndCompleted)
 {
     _manager.mainPanel.GetComponent <CanvasGroup>().DOFade(0, 1.5f)
     .OnComplete(() => {
         _manager.Clear();
         onEndCompleted.Invoke();
     });
 }
Ejemplo n.º 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();
            });
        }
Ejemplo n.º 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();
            });
        }