parry and health bar pt1

This commit is contained in:
djkellerman
2025-02-26 20:17:19 -05:00
parent 710df1c8d4
commit 62c4a240b0
6 changed files with 114 additions and 15 deletions

View File

@@ -0,0 +1,15 @@
using UnityEngine;
public class HealthBarFollow : MonoBehaviour
{
public Transform target;
public Vector3 offset;
void Update()
{
if (target != null)
{
transform.position = target.position + offset;
}
}
}