/// <summary> This can be called to skip a screen set to `Wait Screen End Trigger`</summary> public static void TriggerSplashScreenEnd() { SplashScreensManager instance = SplashScreensManager.Instance; if ((object)instance != null) { instance.TriggerScreenEnd(); } }
protected void Awake() { SplashScreensManager.Instance = this; this.showTimer = this.minShowTime; for (int i = 0; i < this.screens.Count; i++) { if ((UnityEngine.Object) this.screens[i].target != (UnityEngine.Object)null) { this.screens[i].target.SetActive(false); } } }
protected void OnDestroy() { SplashScreensManager.Instance = null; }