14 lines
286 B
C#
14 lines
286 B
C#
using UnityEngine;
|
|
|
|
namespace Scampz.GameJam.Assets.Scripts.Player
|
|
{
|
|
public class OpenVoid : MonoBehaviour
|
|
{
|
|
private void Update()
|
|
{
|
|
if (UnlockSanctumState.Instance != null && UnlockSanctumState.Instance.VoidOpened)
|
|
gameObject.SetActive(false);
|
|
}
|
|
}
|
|
}
|