void PlayGame()
    {
        if (creatureName.text != "" || creatureName.text != null)
        {
            CreatureInfo.creatureName = creatureName.text;
        }


        if (CreatureInfo.creatureName == "")
        {
            messageBox.showError("Enter Creature Name");
        }
        else
        {
            SceneManager.LoadScene("test");
        }
    }
Beispiel #2
0
    public void PlayGame()
    {
        if (planetName.text != "" || planetName.text != null)
        {
            PlanetInfo.name = planetName.text;
        }



        if (planetName.text == "" || planetName.text == null)
        {
            messageBox.showError("Enter Planet Name");
        }
        else
        {
            //SceneManager.LoadScene("test");
            MenuChange.ChangeMenu(MenuChange.Menu.CreatureMenu);
        }
    }