private void TimeController() { if (IocContainer.Instance.GameStatusSystem.IsCanSpawn) { _timer += Time.deltaTime; } _displayTime.DisplayText(_levelTime - _timer, "Time"); if (_timer >= _levelTime) { StartNextLevel(); } }
public void Initialization() { _livInfo = IocContainer.Instance.LiveLoader; _textDisplayLive.DisplayText(_livInfo.LiveDataInfo.Lives, "Lives"); }