last room and puzzle order
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user