simple eating )
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user