add basic dialogue system and interactable interface

This commit is contained in:
2025-06-20 22:55:51 -05:00
parent 33bf1663aa
commit 08dcb7c019
108 changed files with 62960 additions and 1167 deletions
+24
View File
@@ -0,0 +1,24 @@
using UnityEngine;
public class GameManager : MonoBehaviour
{
public static GameManager Instance { get; private set; }
public DialogueManager DialogueManager { get; private set; }
private void Awake()
{
// If there is an instance, and it's not me, delete myself.
if (Instance != null && Instance != this)
{
Destroy(this);
}
else
{
Instance = this;
DontDestroyOnLoad(gameObject);
DialogueManager = GetComponent<DialogueManager>();
}
}
}