pt2
This commit is contained in:
@@ -1,15 +0,0 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class HealthBarFollow : MonoBehaviour
|
||||
{
|
||||
public Transform target;
|
||||
public Vector3 offset;
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (target != null)
|
||||
{
|
||||
transform.position = target.position + offset;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4bc53792102fa104f98e8374928d0979
|
||||
Reference in New Issue
Block a user