add package files

This commit is contained in:
VR164000
2023-06-15 09:52:08 +08:00
parent 06d41412be
commit a0b3b91879
382 changed files with 44971 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
using UnityEngine;
namespace VIVE.FacialTracking.Sample
{
public class FollowCamera : MonoBehaviour
{
// Start is called before the first frame update
public new Transform camera;
private Vector3 offset;
void Start()
{
this.transform.position = new Vector3(camera.position.x, camera.position.y, camera.position.z + 1);
}
// Update is called once per frame
void Update()
{
this.transform.position = new Vector3(this.transform.position.x, camera.position.y, this.transform.position.z);
}
}
}