public void OnPointerExit(PointerEventData eventData) { //Debug.Log("Stopped hovering enemey " + this.gameObject.name); enemyCanvas.UpdateTargetedEnemy(null); }
public override void Deactivate() { enemyCanvas.UpdateTargetedEnemy(null); base.Deactivate(); }