Nearly finished.....

This commit is contained in:
2022-08-31 00:31:02 -07:00
parent 59d65e0e8c
commit 83bd769167
24 changed files with 2828 additions and 42 deletions

View File

@@ -0,0 +1,32 @@
using UnityEngine;
namespace Scampz.GameJam.Assets.Scripts
{
public class UnlockSanctumState : MonoBehaviour
{
public bool TalkedToFrog = false;
public bool TalkedToIceGuy = false;
public bool TalkedToAirshipGuy = false;
public bool SanctumUnlocked = false;
public bool VoidOpened = false;
public static UnlockSanctumState Instance;
private void Awake()
{
if (Instance != null && Instance != this)
{
Destroy(this);
return;
}
Instance = this;
DontDestroyOnLoad(gameObject);
}
private void Update()
{
if (TalkedToFrog && TalkedToIceGuy && TalkedToAirshipGuy)
SanctumUnlocked = true;
}
}
}