This commit is contained in:
Janis
2022-06-05 15:19:27 +02:00
parent 831f1423b5
commit 21e915bef3
7 changed files with 392 additions and 28 deletions

View File

@@ -0,0 +1,13 @@
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();
}
}