robot stuff in dev
This commit is contained in:
@ -104,6 +104,7 @@ public class PlayerComponent : MonoBehaviour
|
||||
{
|
||||
if (other.CompareTag("Damaging"))
|
||||
{
|
||||
print("HIT!");
|
||||
MonsterComponent monster = other.GetComponentInParent<MonsterComponent>();
|
||||
|
||||
this.Damage(monster.AttackDamage, monster.ShakeCameraOnHit);
|
||||
|
Reference in New Issue
Block a user