PieValue.cs 288 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 PieValue : MonoBehaviour
  7. {
  8. public Text value;
  9. public void setData(PieChartData data)
  10. {
  11. value.text = data.value.ToString();
  12. }
  13. }