// Start is called before the first frame update void Start() { runeCount = GameObject.FindWithTag("RuneCount").GetComponent <RuneCount>(); GetComponent <Canvas>().enabled = false; float currSeconds = 4f; StartCoroutine(ChangeAIText("It looks like there isn't an easy path here.", currSeconds, 0)); currSeconds += 3f; StartCoroutine(ChangeAIText("You can try scouting around in your Energy Form.", currSeconds, 0)); currSeconds += 2f; StartCoroutine(ChangeInfoText("Press 'R' to go into Energy Form", currSeconds, 0)); currSeconds += 3f; StartCoroutine(HideImage(currSeconds, 0)); StartCoroutine(ChangeAIText("", currSeconds, 0)); }
// Start is called when the script begins void Start() { initPos = transform.position; runeCount = GameObject.FindWithTag("RuneCount").GetComponent <RuneCount>(); }