quantum-space-buddies/QSB/ProbeSync/QSBProbe.cs

19 lines
270 B
C#
Raw Normal View History

using QSB.Utility;
using UnityEngine;
2021-04-11 16:08:18 +00:00
namespace QSB.ProbeSync
{
2020-12-02 21:23:01 +00:00
public class QSBProbe : MonoBehaviour
{
public void SetState(bool state)
{
if (state)
{
2020-12-11 23:13:13 +00:00
gameObject.SetActive(true);
gameObject.Show();
return;
2020-12-02 21:23:01 +00:00
}
gameObject.Hide();
}
}
2020-12-03 08:28:05 +00:00
}