Stratasys-450mc-VR/Assets/Scripts/Part Labels/PartLabelManager.cs

26 lines
488 B
C#

using UnityEngine;
namespace Part_Labels
{
public class PartLabelManager : MonoBehaviour
{
[SerializeField]private PartLabel[] labels;
public void ActivateLabels()
{
foreach (var label in labels)
{
label.Activate();
}
}
public void DeactivateLabels()
{
foreach (var label in labels)
{
label.Deactivate();
}
}
}
}