update to unity 6.2, add save system and quest system

This commit is contained in:
2025-12-02 16:52:02 -06:00
parent aea12ab091
commit c7dca2f8e5
23 changed files with 767 additions and 48 deletions
+28
View File
@@ -0,0 +1,28 @@
using UnityEngine;
public class TouchCubeTest : Interactable
{
public override void Interact()
{
// do nothing
}
public override void MoveInsideRange()
{
if (GameManager.Instance.Storybools.hasHelpedSam)
{
Debug.Log("You've already touched the cube!");
}
else
{
Debug.Log("Touched the cube!");
GameManager.Instance.Storybools.hasHelpedSam = true;
SaveSystem.Save();
}
}
public override void MoveOutsideRange()
{
// do nothing
}
}