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"; } }
public virtual void Visit(ShowErrors node) { VisitInternal(node.Limit); }
public void Visit(ShowErrors node) { }