private static System.Collections.IEnumerator WaitAndEnable(GUIBase baseG) { yield return(new WaitForEndOfFrame()); baseG.DisableImmediate(); baseG.OnUpdateScaling(); yield return(new WaitForEndOfFrame()); baseG.EnableImmediate(); }
public void Continue() { leaving = false; if (activePanel != null) { activePanel.DisableImmediate(); } Disable(); }