// Use this for initialization new void Start() { base.Start(); anim = GetComponent <Animator>(); player = GameObject.Find("Player"); combatHandler = GameObject.Find("GameRules").GetComponent <CombatHandler>(); combatHandler.AddEnemy(this); localScale = transform.localScale; }