mirror of
https://github.com/DerTyp7/industrialize-unity.git
synced 2025-10-30 04:47:12 +01:00
14 lines
299 B
C#
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();
|
|
}
|
|
}
|