quantum-space-buddies/QSB/Tools/QSBProbe.cs
2020-08-15 21:39:39 +01:00

30 lines
505 B
C#

using UnityEngine;
namespace QSB.Tools
{
public class QSBProbe : MonoBehaviour
{
public void SetState(bool state)
{
if (state)
{
Activate();
}
else
{
Deactivate();
}
}
private void Activate()
{
gameObject.SetActive(true);
}
private void Deactivate()
{
gameObject.SetActive(false);
}
}
}