Table of Contents

Class UIStatistics

Namespace
GrindFest.UI
Assembly
GrindFest.dll

Legacy uGUI statistics panel: gold / exp / kills in the last 10 minutes as a line chart, plus a pie chart of kills by monster type.

public class UIStatistics : UIPanel, ICloseableUI
Inheritance
object
UIStatistics
Implements
Inherited Members

Remarks

This panel is no longer used. The game UI moved to OneJS (Assets/_GrindFest/UI/~/), so the old uGUI character screen that hosted it is legacy. The body was removed on 2026-09-18 together with the com.monitor1394.xcharts package: no released XCharts compiles against Unity 6.6 (older versions call GetInstanceID() and current master implicitly casts EntityId to int - both are error-obsolete, CS0619), and carrying a patched package cache for an unused panel was not worth it.

The class is kept as an empty stub only so the component already serialized on Assets/_GrindFest/UI Prefabs/Character/UICharacterScreen.prefab does not turn into a missing script. The old implementation (a useful reference for the redraw) is in git history: git log -p -- Assets/_GrindFest/Scripts/UI/UIStatistics.cs.

TODO: migrate the statistics screen to OneJS. The data is unchanged and still there - StatisticsManager exposes GoldInLast10Minutes, KillsInLast10Minutes, ExpInLast10Minutes and KillsByTypeInLast10Minutes. Re-implement the two charts with our own OneJS components (or another Unity-6.6-ready approach); do not re-add XCharts without first checking that it compiles on the editor we run.