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