RingValue.cs 293 B

1234567891011121314
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. using static Manager;
  6. public class RingValue : MonoBehaviour
  7. {
  8. public Text value;
  9. public void setData(RingValueData data)
  10. {
  11. value.text = data.value+"/"+ data.max;
  12. }
  13. }