public void Init() { if (_logic == null) { _logic = ServiceManager.Get <MagicCubeLogic>(); } if (_TimerText == null) { _timerIsActive = false; LogManager.LogError("Timer Text is null, not starting update timer routine."); return; } gameObject.SetActive(true); _timerIsActive = true; StartCoroutine(UpdateTimer()); }
private void Start() { _logicController = ServiceManager.Get <MagicCubeLogic>(); ServiceManager.Get <UIManager>().RegisterMenuUI(this); }
public void Start() { _logicController = ServiceManager.Get <MagicCubeLogic>(); ServiceManager.Get <UIManager>().RegisterGameUI(this); }