// Start is called before the first frame update public override void Start() { base.Start(); //Our parent start method; Instance = this; enemyHealth = 20f; manaReserve = enemyHealth * 2f; walkSpeed = 1f; sController = GetComponent <Sorcerer_Controller>(); player = GameObject.FindGameObjectWithTag("Player"); }
// Start is called before the first frame update public override void Start() { base.Start(); sorcerer = GetComponent <Sorcerer_Pawn>(); player = FindObjectOfType <Player_Pawn>(); }