public void OnFinish(ILoading iLoad) { iLoad.SetActiveTip(false); iLoad.DisposableTips?.Dispose(); iLoad.DisposableWaitTips?.Dispose(); iLoad.FadeOutProcessBar(); iLoad.LoadNextScene(); }
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; }