simple eating )

This commit is contained in:
2023-02-28 23:41:38 +02:00
parent 75b9665674
commit a54ce69e66
9 changed files with 58 additions and 501 deletions
@@ -10,6 +10,7 @@ public class ColaFreezer : BaseInteractableObject
{
if (!player.HasFoodObject())
{
player.BuyObject(_foodObjectSO);
// Spawn new object and set to player
var transform = Instantiate(_foodObjectSO.prefab, _playerArrivePoint);
var foodObject = transform.GetComponent<FoodObject>();