// 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>(); }
private void Start() { stepMana = GameObject.FindGameObjectWithTag("Maker").GetComponent <StepMana>(); step = stepMana.step; Start_(); }