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().text = Inventory.PlayerInventory.Encumbrance.ToString(); } }