last room and puzzle order

This commit is contained in:
2022-12-08 14:04:00 +01:00
parent b3c53031c1
commit 429f9536a9
9 changed files with 91 additions and 71 deletions

View File

@@ -12,6 +12,19 @@ namespace EscapeRoomEngine.Engine.Runtime
public class GameControl : MonoBehaviour
{
public static GameControl Instance
{
get
{
if (_foundGameControl == null)
{
_foundGameControl = FindObjectOfType<GameControl>();
}
return _foundGameControl;
}
}
private static GameControl _foundGameControl;
[SerializeField] private Button startButton, stopButton, pauseButton, resumeButton, addMinuteButton, removeMinuteButton;
[SerializeField] private Text timeText;