public void TransferFuelFromPlaneToHangar(int count) { if (planeController.publicLiters >= count && playerStats.fuelCapacity + count <= playerStats.fuelCapacity) { float removedFuel = planeController.RemoveFuel(count); playerStats.AddFuel(removedFuel); playerStats.SavePlayer(); } else { if (planeController.publicLiters >= count) { Debug.Log("Cannot remove passengers to hangar. Not enough passengers."); } if (playerStats.fuel + count <= playerStats.fuelCapacity) { Debug.Log("Cannot remove passengers to hangar. Not enough room." + (playerStats.fuel + count) + playerStats.fuelCapacity); } } }