Fix journal opening during dialog

This commit is contained in:
2023-07-08 23:01:49 +02:00
parent 9a62b3ad3d
commit 30d9d7f1ec
3 changed files with 66 additions and 11 deletions

View File

@@ -4,15 +4,20 @@ using UnityEngine;
public class GameManager : MonoBehaviour
{
// Start is called before the first frame update
void Start()
public static GameManager Instance;
public DialogueController dialogueController;
private void Awake()
{
if (Instance == null)
{
Instance = this;
}
else
{
Debug.LogWarning("There can only be one instance of the CharacterManager class");
}
}
// Update is called once per frame
void Update()
{
}
}