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