考试上传没有用时

This commit is contained in:
huqibin 2025-02-26 19:03:47 +08:00
parent a5caa23a4b
commit 459da470c9
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{