private void InitializePlayer() { var playerView = FindObjectOfType <PlayerView>(); var player = new PlayerModel(new Inventory( _gameConfig.PlayerConfig.InventoryConfig.Rows, _gameConfig.PlayerConfig.InventoryConfig.Columns )); player.AttachView(playerView); playerView.AttachModel(player); _player = player; }