Stratasys-450mc-VR/Assets/Scripts/Part Labels/PartLabelManager.cs
2023-11-03 15:16:36 -04:00

27 lines
533 B
C#

using Unity.VRTemplate;
using UnityEngine;
namespace Part_Labels
{
public class PartLabelManager : MonoBehaviour
{
[SerializeField] private Callout[] callouts;
public void ActivateLabels()
{
foreach (var callout in callouts)
{
callout.GazeHoverStart();
}
}
public void DeactivateLabels()
{
foreach (var callout in callouts)
{
callout.GazeHoverEnd();
}
}
}
}