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