public void OnFinish(ILoading iLoad)
 {
     iLoad.SetActiveTip(false);
     iLoad.DisposableTips?.Dispose();
     iLoad.DisposableWaitTips?.Dispose();
     iLoad.FadeOutProcessBar();
     iLoad.LoadNextScene();
 }
Exemple #2
0
 public void OnFinish(ILoading iLoad)
 {
     Observable.Timer(TimeSpan.FromSeconds(timeFade)).Subscribe(_ => objectAnyKey.SetActive(true)).AddTo(objectAnyKey);
     iLoad.SetActiveTip(false);
     iLoad.DisposableTips?.Dispose();
     iLoad.DisposableWaitTips?.Dispose();
     iLoad.FadeOutProcessBar();
     detect.onClick.AddListener(() => LoadNextScene(iLoad));
     detect.interactable = true;
 }