public static InGameUIManagerTimerClue Instance() { if (!inGameUIManagerTimerClue) { inGameUIManagerTimerClue = FindObjectOfType(typeof(InGameUIManagerTimerClue)) as InGameUIManagerTimerClue; if (!inGameUIManagerTimerClue) { Debug.LogError("There needs to be one active DisplayManager script on a GameObject in your scene."); } } return(inGameUIManagerTimerClue); }
private void Awake() { instance = this; }