Пример #1
0
        /// <summary>
        /// Pop the JCS_BlackSlideScreen object.
        /// </summary>
        public static void PopJCSBlackSlideScreen()
        {
            string path             = JCS_UISettings.BLACK_SLIDE_SCREEN_PATH;
            JCS_BlackSlideScreen bs = JCS_Utility.SpawnGameObject(path).GetComponent <JCS_BlackSlideScreen>();

            if (bs == null)
            {
                JCS_Debug.LogError("GameObject without \"JCS_BlackScreen\" Component attached!!!");
                return;
            }

            JCS_SceneManager.instance.SetJCSBlackSlideScreen(bs);
        }
 public void SetBlackSlideScreen(JCS_BlackSlideScreen bs)
 {
     this.mBlackSlideScreen = bs;
 }