diff --git a/Assets/Template/Scripts/CXX/Score/ScoreManager.cs b/Assets/Template/Scripts/CXX/Score/ScoreManager.cs index b7acabe..07f2668 100644 --- a/Assets/Template/Scripts/CXX/Score/ScoreManager.cs +++ b/Assets/Template/Scripts/CXX/Score/ScoreManager.cs @@ -1,4 +1,5 @@ using Newtonsoft.Json; +using System; using System.Collections; using System.Collections.Generic; using System.Linq; @@ -93,6 +94,7 @@ public class ScoreManager : MonoBehaviour { ScoreBase sb=scoreSubjectList.Find(a=>a.schemeId== subjectid); ScoreModel scoreModel = new ScoreModel(); + scoreModel.time = (DateTime.Now - GameManager.RunModelMgr.startTime).TotalSeconds.ToString(); scoreModel.score= sb.GetTotalScore(); var step=sb.GetStepScore(); foreach (var item in step)