robot stuff in dev

This commit is contained in:
2023-05-31 11:12:43 -04:00
parent 77ba05e7dc
commit 47b25269f1
96 changed files with 16862 additions and 2689 deletions

View File

@ -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);