Firstborn/Assets/RPG Creation Kit/Scripts/Inventory System/DisplayTotalEncumbranceText.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

14 lines
357 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using RPGCreationKit;
public class DisplayTotalEncumbranceText : MonoBehaviour
{
// Start is called before the first frame update
void OnEnable()
{
GetComponent<TextMeshProUGUI>().text = Inventory.PlayerInventory.Encumbrance.ToString();
}
}