コード例 #1
0
 public void Exit()
 {
     UpgradeCarWithEquippedItems(
         _upgradable, _inventoryController.GetEquippedItems(), _upgradeHandlersRepository.Collection);
     _profilePlayer.AddEquipItem(_inventoryModel);
     Debug.Log(_profilePlayer.CurrentCar.Speed);
     _profilePlayer.CurrentState.Value = GameState.Start;
 }
コード例 #2
0
 public void Exit()
 {
     _inventoryController.HideInventory();
     UpgradeCarWithEquippedItems(_upgradable, _inventoryController.GetEquippedItems(),
                                 _upgradeHandlersRepository.Collection);
 }
コード例 #3
0
 public IReadOnlyList <IItem> GetEquipedItems()
 {
     return(_inventoryController.GetEquippedItems());
 }