// Start is called before the first frame update
 void Start()
 {
     //Setup
     os     = GameObject.FindGameObjectWithTag("Spawner").GetComponent <OverwatchSpawner>();
     gm     = GameObject.FindGameObjectWithTag("GameManager").GetComponent <GameManager>();
     points = 0;
 }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     //Setup
     state          = GameState.Start;
     pc             = GameObject.FindGameObjectWithTag("Player").GetComponent <PlayerController>();
     os             = GameObject.FindGameObjectWithTag("Spawner").GetComponent <OverwatchSpawner>();
     hintsGiven     = 0;
     pointsToAward  = 4;
     hint.enabled   = false;
     choice.enabled = false;
     points.enabled = false;
     StartCoroutine(Tutorial());
 }