GPUManager.cs 383 B

1234567891011121314151617
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using XCharts.Runtime;
  5. using static Manager;
  6. public class GPUManager : UpdateManager
  7. {
  8. public LineChart lineChart;
  9. public override void updateData()
  10. {
  11. base.updateData();
  12. DataManager.Instance.GetGPUData((data)=> {
  13. setLineData(lineChart, data);
  14. });
  15. }
  16. }