// Start is called before the first frame update void Start() { wasdSprites.SetActive(false); textScript = gameObject.GetComponent <TextWritingScript>(); textBox.SetActive(false); StartCoroutine(Cutscene1()); }
void Start() { textScript = GameObject.Find("WorldScriptHolder").GetComponent <TextWritingScript>(); for (int i = 0; i < iCircles.Length; i++) { iCircles[i].GetComponent <SpriteRenderer>().enabled = false; } }
// Start is called before the first frame update void Start() { tutPrompt2 = GameObject.Find("TutPromptBox2"); co = WallPrompt1(); tutPrompts.SetActive(false); textScript = GameObject.Find("WorldScriptHolder").GetComponent <TextWritingScript>(); playerControls = player.GetComponent <PlayerControls>(); wallGlow.GetComponent <Animator>().SetBool("startGlow", false); }