void OnCollisionEnter2D(Collision2D touch) { PublicFunctions.DamageEnemy(touch, damage); }//Damage the enemy
void OnCollisionEnter2D(Collision2D hit) { PublicFunctions.DamageEnemy(hit, damage); }//Damage enemy on contact
void OnCollisionEnter2D(Collision2D punch) { PublicFunctions.DamageEnemy(punch, damage); }//Damage enemy if a punch is hit
void OnCollisionEnter2D(Collision2D contact) { PublicFunctions.DamageEnemy(contact, damage); Destroy(gameObject); }