public PrepareLevelHandler( [NotNull] IScreenController screenController, [NotNull] IRoundController roundController) { _screenController = screenController ?? throw new ArgumentNullException(nameof(screenController)); _roundController = roundController ?? throw new ArgumentNullException(nameof(roundController)); }
void Awake() { roundController = FindObjectOfType <RoundController>(); gameManager = FindObjectOfType <GameManager.GameManager>(); }
void Awake() { gameView = FindObjectOfType <UIViewGame>(); settingsView = FindObjectOfType <UIViewSettings>(); roundController = FindObjectOfType <RoundController>(); }
public RoundManager(IRoundController round) { this.Round = round; }