You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1012 B
32 lines
1012 B
3 years ago
|
using UnityEngine;
|
||
|
using System.Collections;
|
||
|
using AX.TrackRecord;
|
||
|
using System;
|
||
|
using UnityEngine.UI;
|
||
|
|
||
|
public class SubmitPrepareLesson : MonoBehaviour
|
||
|
{
|
||
|
|
||
|
public void SubmitAnswerButton()
|
||
|
{
|
||
|
GameObject TipWindow = Instantiate(Resources.Load<GameObject>("UIPrefab/TipWindow"));
|
||
|
TipWindow.GetComponent<TipWindowManager>().SetWindow(
|
||
|
"确定提交?", new UnityEngine.Events.UnityAction(OKSubmit), new UnityEngine.Events.UnityAction(NOSubmit));
|
||
|
RecordManager.Instance.IsPause = true;//停止记录
|
||
|
}
|
||
|
private void OKSubmit()
|
||
|
{
|
||
|
//提交
|
||
|
//string filename = "recordList/" + ((int)ExamInfoHelpClass.selectSceneID).ToString() + "/" + zqid + "/" + count + ".xml"/*fname*/;
|
||
|
//RecordManager.Instance.StopRecord_SerializeRecordToXML(filename, RecordManager.Instance.record);
|
||
|
|
||
|
//成功后删除XML
|
||
|
|
||
|
}
|
||
|
private void NOSubmit()
|
||
|
{
|
||
|
|
||
|
RecordManager.Instance.IsPause = false;//继续记录
|
||
|
}
|
||
|
}
|