#no its an issue with it messing with the

1 messages · Page 1 of 1 (latest)

pale zephyr
#

My approach would be to create an interface called IDamageable that has a public method called TakeDamage. Then when you swing the sword at the enemy the script attached to the sword checks to see if the collided object implements IDamageable and if so, triggers the TakeDamage method.