mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-18 04:10:36 +00:00
31 lines
508 B
C#
31 lines
508 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);
|
|
}
|
|
|
|
}
|
|
}
|