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.
29 lines
545 B
29 lines
545 B
3 years ago
|
using UnityEngine;
|
||
|
using System.Collections;
|
||
|
using AX.TrackRecord;
|
||
|
|
||
|
public class ExamInfoStore : MonoBehaviour {
|
||
|
public static RecordManager record;
|
||
|
public static int count = 0;
|
||
|
// Use this for initialization
|
||
|
void Start () {
|
||
|
count++;
|
||
|
if (record == null)
|
||
|
{
|
||
|
//第一次执行,无需还原场景
|
||
|
record = new RecordManager();
|
||
|
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
//切换回来,需要还原场景
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update () {
|
||
|
|
||
|
}
|
||
|
}
|