private void OnTriggerStay2D(Collider2D collision) { //Debug.Log("al aqtaque"); if (collision.CompareTag("Player")) { enemyParent.OnAttack(); } }