mirror of
https://udrimavric.com/MAVRIC/Stratasys-450mc-VR.git
synced 2025-01-23 15:48:33 -05:00
27 lines
533 B
C#
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();
|
|
}
|
|
}
|
|
}
|
|
}
|