using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using static Manager; public class PieValue : MonoBehaviour { public Text value; public void setData(PieChartData data) { value.text = data.value.ToString(); } }