void Start() { witch = GameObject.FindGameObjectWithTag("Player").GetComponent <Witch>(); GenerateLabyrinth(false); witch.setPositionToOrigin(new Vector3(origin.x, witch.transform.position.y, origin.z)); }
void Start() { witch = GameObject.FindGameObjectWithTag("Player").GetComponent <Witch>(); GenerateLabyrinth(false); witch.setPositionToOrigin(new Vector3(origin.x, witch.transform.position.y, origin.z)); }