959e80cf72
assets upload description.
14 lines
357 B
C#
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();
|
|
}
|
|
}
|