Skip to content

Commit cb1bcaf

Browse files
committed
Added Seconds history field to TrackedObject
1 parent f5a7a83 commit cb1bcaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

MLAPI-Editor/TrackedObjectEditor.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public override void OnInspectorGUI()
2727
{
2828
EditorGUILayout.LabelField("Total points: ", trackedObject.TotalPoints.ToString(), EditorStyles.label);
2929
EditorGUILayout.LabelField("Avg time between points: ", trackedObject.AvgTimeBetweenPointsMs.ToString() + " ms", EditorStyles.label);
30+
EditorGUILayout.LabelField("Total history: ", trackedObject.TotalTimeHistory.ToString() + " seconds", EditorStyles.label);
3031
}
3132
Repaint();
3233
}

0 commit comments

Comments
 (0)