Example #1
0
        /// <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();
            }
        }
Example #2
0
 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);
         }
     }
 }
Example #3
0
 protected void OnDestroy()
 {
     SplashScreensManager.Instance = null;
 }