Add state count debug info.

This commit is contained in:
2023-01-31 15:54:46 +08:00
parent a1ce459a0e
commit 91f55cd9a3

View File

@@ -252,8 +252,14 @@ namespace Cryville.Crtr {
UnityEngine.Profiling.Profiler.GetTotalReservedMemory()
#endif
);
if (started) {
sttext += string.Format(
"\nStates: c{0} / b{1}",
cbus.ActiveStateCount, bbus.ActiveStateCount
);
sttext += timetext;
if (judge != null) sttext += "\n== Scores ==\n" + judge.GetFullFormattedScoreString();
}
status.text = sttext;
}
void OnCameraPostRender(Camera cam) {