mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-07 13:05:41 +00:00
20 lines
271 B
C#
20 lines
271 B
C#
using QSB.Utility;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.ProbeSync
|
|
{
|
|
public class QSBProbe : MonoBehaviour
|
|
{
|
|
public void SetState(bool state)
|
|
{
|
|
if (state)
|
|
{
|
|
gameObject.SetActive(true);
|
|
gameObject.Show();
|
|
return;
|
|
}
|
|
|
|
gameObject.Hide();
|
|
}
|
|
}
|
|
} |