Example #1
0
 public void LastDialog()
 {
     if (lastDialogGUI != null)
     {
         lastDialogGUI.Show();
     }
 }
Example #2
0
 public void ShowIngameGUI()
 {
     if (ingameGUI != null)
     {
         ingameGUI.Show();
     }
 }
Example #3
0
 public void ShowGameOverGUI(string title)
 {
     if (gameOverGUI != null)
     {
         gameOverGUI.Show();
     }
 }
Example #4
0
    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");
        }
    }