Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     open     = false;
     level    = GameObject.FindGameObjectWithTag("MapMaker").GetComponent <LevelGenerator>();
     enemy    = GameObject.FindGameObjectWithTag("MapMaker").GetComponent <EnemyMaker>();
     stepmana = GameObject.FindGameObjectWithTag("Maker").GetComponent <StepMana>();
 }
Example #2
0
 private void Start()
 {
     stepMana = GameObject.FindGameObjectWithTag("Maker").GetComponent <StepMana>();
     step     = stepMana.step;
     Start_();
 }