Nearly finished.....
This commit is contained in:
13
Assets/Scripts/Player/OpenVoid.cs
Normal file
13
Assets/Scripts/Player/OpenVoid.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Scampz.GameJam.Assets.Scripts.Player
|
||||
{
|
||||
public class OpenVoid : MonoBehaviour
|
||||
{
|
||||
private void Update()
|
||||
{
|
||||
if (UnlockSanctumState.Instance.VoidOpened)
|
||||
gameObject.SetActive(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user