diff --git a/Assets/Template/Scripts/CXX/Score/ScoreManager.cs b/Assets/Template/Scripts/CXX/Score/ScoreManager.cs index b7acabe..2d5d9c3 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; @@ -94,6 +95,7 @@ public class ScoreManager : MonoBehaviour ScoreBase sb=scoreSubjectList.Find(a=>a.schemeId== subjectid); ScoreModel scoreModel = new ScoreModel(); scoreModel.score= sb.GetTotalScore(); + scoreModel.time = (DateTime.Now - GameManager.RunModelMgr.startTime).TotalSeconds.ToString(); var step=sb.GetStepScore(); foreach (var item in step) {