public override void ChildHitboxEnterEvent(Collider2D collision, Hitbox hitbox) { base.ChildHitboxEnterEvent(collision, hitbox); if (collision.CompareTag("Enemy")) { PlatformerCreature platformerCreature = collision.GetComponent <PlatformerCreature>(); if (platformerCreature != null) { if (platformerCreature.OnHitboxEvent(hitbox)) { //StartCoroutine(HitStop()); } } } }