Create Delivery Counter and first Shader

This commit is contained in:
BuyMyMojo 2023-03-03 02:18:36 +11:00
parent 4664a61aa2
commit 7e1cbafa47
14 changed files with 4792 additions and 114 deletions

View file

@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DeliveryCounter : BaseCounter
{
public override void Interact(Player player)
{
if (player.HasKitchenObject())
{
if (player.GetKitchenObject().TryGetPlate(out PlateKitchenObject plateKitchenObject))
{
// only takes plate objects
player.GetKitchenObject().DestroySelf();
}
}
}
}