Files
industrialize-unity/Assets/Items/testItem/StackSizeText.cs
Janis 21e915bef3 a
2022-06-05 15:19:27 +02:00

14 lines
299 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//! DEBUG TEXT
public class StackSizeText : MonoBehaviour
{
public ItemObject itemObject;
void Update()
{
gameObject.GetComponent<TMPro.TextMeshPro>().text = itemObject.stackSize.ToString();
}
}