private void Awake() { _playerBuffer = new Queue <ICommand>(); _enemyBuffer = new Queue <ICommand>(); _board = GetComponent <MapBoard>(); _proxyBoard = new ProxyBoard(_board.mapSize); _spawnerManager = GetComponent <SpawnerManager>(); }
private void Awake() { Board = FindObjectOfType <MapBoard>(); }