Ejemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     wasdSprites.SetActive(false);
     textScript = gameObject.GetComponent <TextWritingScript>();
     textBox.SetActive(false);
     StartCoroutine(Cutscene1());
 }
Ejemplo n.º 2
0
 void Start()
 {
     textScript = GameObject.Find("WorldScriptHolder").GetComponent <TextWritingScript>();
     for (int i = 0; i < iCircles.Length; i++)
     {
         iCircles[i].GetComponent <SpriteRenderer>().enabled = false;
     }
 }
Ejemplo n.º 3
0
 // 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);
 }