UnityGiles's picture
clean repo
3868539
raw
history blame contribute delete
No virus
493 Bytes
using UnityEngine;
public class FacePreview : MonoBehaviour
{
public BoundingBox boundingBox;
public Keypoint[] keypoints;
public void SetActive(bool active)
{
gameObject.SetActive(active);
}
public void SetBoundingBox(bool active, Vector3 position, Vector2 size)
{
boundingBox.Set(active, position, size);
}
public void SetKeypoint(int index, bool active, Vector3 position)
{
keypoints[index].Set(active, position);
}
}