Nearly finished.....
This commit is contained in:
13
Assets/Scripts/Player/TalkedToIceGuy.cs
Normal file
13
Assets/Scripts/Player/TalkedToIceGuy.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Scampz.GameJam.Assets.Scripts.Player
|
||||
{
|
||||
public class TalkedToIceGuy : MonoBehaviour
|
||||
{
|
||||
public void OnTriggerStay(Collider other)
|
||||
{
|
||||
if (Input.GetButton(InputOptions.Submit))
|
||||
UnlockSanctumState.Instance.TalkedToIceGuy = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user