考试上传没有时间

This commit is contained in:
huqibin 2025-02-26 19:05:02 +08:00
parent 54837692c8
commit b18dcd4d1a
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;
@ -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)