public RangeAttack(GameObject weaponSlot, AttackingAnimationHandler animationHandler) { this.animationHandler = animationHandler; this.weaponSlot = weaponSlot; animationHandler.AttackEnds.AddListener(AttackingEnds); }