4 namespace HKI.Core.Debuging
12 [SerializeField] Text CurrentFPSText = null;
14 [SerializeField] GameObject GraphGO = null;
15 [SerializeField] RawImage GraphImage = null;
25 if(CurrentFPSText != null)
31 GraphGO.SetActive(
false);
36 GraphGO.SetActive(
true);
This MonoBehaviour updates the UI of the FPS only information with the FPS information calced by FPSC...
This class calcs the fps and greates the graph.
void Init(FPSCalc fpsCalc)
void UpdateInfo(FPSCalc fpsCalc)
string CurrentFPSAndFrameTimeStringSmall