Add UI over plate to down plated ingreedients
This commit is contained in:
parent
16b86e4ec4
commit
ef24f6f0e8
11 changed files with 650 additions and 1983 deletions
16
Assets/Scripts/PlateIconSingleUI.cs
Normal file
16
Assets/Scripts/PlateIconSingleUI.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class PlateIconSingleUI : MonoBehaviour
|
||||
{
|
||||
|
||||
[SerializeField] private Image image;
|
||||
|
||||
public void SetKitchenObjectSO(KitchenObjectSO kitchenObjectSO)
|
||||
{
|
||||
image.sprite = kitchenObjectSO.sprite;
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue