Add Delivery Manager UI and UI logic
This commit is contained in:
parent
8c5f4f2acf
commit
3ec46256e8
89 changed files with 14001 additions and 12 deletions
16
Assets/Scripts/UI/PlateIconSingleUI.cs
Normal file
16
Assets/Scripts/UI/PlateIconSingleUI.cs
Normal file
|
@ -0,0 +1,16 @@
|
|||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class PlateIconSingleUI : MonoBehaviour
|
||||
{
|
||||
// For some reason it was pulling Image from somewhere else randomly near the end of development so I had to specify UnityEngine.UI.Image??
|
||||
[SerializeField] private UnityEngine.UI.Image image;
|
||||
|
||||
public void SetKitchenObjectSO(KitchenObjectSO kitchenObjectSO)
|
||||
{
|
||||
image.sprite = kitchenObjectSO.sprite;
|
||||
}
|
||||
|
||||
}
|
Reference in a new issue