From cb1bcaf14fd0fa3d8baa73319c4fd110ecdc6fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Cor=C3=A9n?= <2108U9@gmail.com> Date: Fri, 20 Apr 2018 16:35:47 +0200 Subject: [PATCH] Added Seconds history field to TrackedObject --- MLAPI-Editor/TrackedObjectEditor.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MLAPI-Editor/TrackedObjectEditor.cs b/MLAPI-Editor/TrackedObjectEditor.cs index ebed8b1..c3c7eee 100644 --- a/MLAPI-Editor/TrackedObjectEditor.cs +++ b/MLAPI-Editor/TrackedObjectEditor.cs @@ -27,6 +27,7 @@ namespace UnityEditor { EditorGUILayout.LabelField("Total points: ", trackedObject.TotalPoints.ToString(), EditorStyles.label); EditorGUILayout.LabelField("Avg time between points: ", trackedObject.AvgTimeBetweenPointsMs.ToString() + " ms", EditorStyles.label); + EditorGUILayout.LabelField("Total history: ", trackedObject.TotalTimeHistory.ToString() + " seconds", EditorStyles.label); } Repaint(); }