/// <summary> /// Pop the JCS_BlackScreen object. /// </summary> public static void PopJCSBlackScreen() { string path = JCS_UISettings.BLACK_SCREEN_PATH; JCS_BlackScreen bs = JCS_Utility.SpawnGameObject(path).GetComponent <JCS_BlackScreen>(); if (bs == null) { JCS_Debug.LogError("GameObject without \"JCS_BlackScreen\" Component attached!!!"); return; } JCS_SceneManager.instance.SetJCSBlackScreen(bs); }
public void SetBlackScreen(JCS_BlackScreen bs) { this.mBlackScreen = bs; }