考试上传没有时间
This commit is contained in:
parent
54837692c8
commit
b18dcd4d1a
|
@ -1,4 +1,5 @@
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
@ -93,6 +94,7 @@ public class ScoreManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
ScoreBase sb=scoreSubjectList.Find(a=>a.schemeId== subjectid);
|
ScoreBase sb=scoreSubjectList.Find(a=>a.schemeId== subjectid);
|
||||||
ScoreModel scoreModel = new ScoreModel();
|
ScoreModel scoreModel = new ScoreModel();
|
||||||
|
scoreModel.time = (DateTime.Now - GameManager.RunModelMgr.startTime).TotalSeconds.ToString();
|
||||||
scoreModel.score= sb.GetTotalScore();
|
scoreModel.score= sb.GetTotalScore();
|
||||||
var step=sb.GetStepScore();
|
var step=sb.GetStepScore();
|
||||||
foreach (var item in step)
|
foreach (var item in step)
|
||||||
|
|
Loading…
Reference in New Issue