Пример #1
0
        public static IEnumerator PreloadResources()
        {
            yield return(instance.PreloadResourcesInternal());

            OnLoadedEvent?.Invoke();
        }
Пример #2
0
 public override void FinishLoading()
 {
     OnLoadedEvent.Invoke();
     canvasGroup.DOFade(0.0f, 1f).SetDelay(0.3f).OnComplete(() => { GameObject.Destroy(this.gameObject); });
 }