public void HideIngameGUI() { if (ingameGUI != null) { ingameGUI.Hide(); } }
public void Switch() { if (srcPanel != null) { srcPanel.Hide(); } else { Debug.Log("SwitchPanel.Switch(): srcPanel == null"); } if (destPanel != null) { destPanel.Show(); } else { Debug.Log("SwitchPanel.Switch(): destPanel == null"); } }