Ejemplo n.º 1
0
    void Start()
    {
        ShowErrors errorScript = GameObject.Find("Error Menu").GetComponent <ShowErrors>();

        if (PlayerPrefs.GetInt("currentLevel") == 0)
        {
            startText.text = "Play Game";
            PlayerPrefs.SetInt("currentLevel", 1);
        }
        else
        {
            errorScript.sendError(nullReferenceError);
            startText.text = "Load Game";
        }
    }
Ejemplo n.º 2
0
 public virtual void Visit(ShowErrors node)
 {
     VisitInternal(node.Limit);
 }
Ejemplo n.º 3
0
 public void Visit(ShowErrors node)
 {
 }