using System.Collections; using System.Collections.Generic; using UnityEngine; using CHN; using Newtonsoft.Json; public class TestBarChart : MonoBehaviour { private WorkTimeManager test; // Start is called before the first frame update void Start() { var textData = Resources.Load("Test"); var response = JsonConvert.DeserializeObject(textData.ToString()); test = FindSingle(); test.SetWorkTimeData(response); } }