84 lines
2.2 KiB
C#
84 lines
2.2 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using System.Xml.Serialization;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
using UnityEngine.UI;
|
|
|
|
public class MainSelect : MonoBehaviour
|
|
{
|
|
/// <summary>
|
|
/// 薩埮褶炾偌聽
|
|
/// </summary>
|
|
public Button practicebutton;
|
|
/// <summary>
|
|
/// 薩埮蕉彸偌聽
|
|
/// </summary>
|
|
public Button examinationbutton;
|
|
/// <summary>
|
|
/// 萇煤瞄呾褶炾偌聽
|
|
/// </summary>
|
|
public Button Electricchargeexercise;
|
|
/// <summary>
|
|
/// 萇煤瞄呾蕉彸偌聽
|
|
/// </summary>
|
|
public Button Electricityfeetest;
|
|
/// <summary>
|
|
/// 鼎萇褶炾偌聽
|
|
/// </summary>
|
|
public Button Powersupplyexercise;
|
|
/// <summary>
|
|
/// 鼎萇蕉彸偌聽
|
|
/// </summary>
|
|
public Button Powersupplytest;
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
public void Examinat()
|
|
{
|
|
//ScoreManager.Instance.Examinationpaper = Examinationpaper.Reviewexamination;
|
|
ScoreManager.Instance.Subject = Subject.Performanceexercise;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
|
|
public void Practice()
|
|
{
|
|
//ScoreManager.Instance.Examinationpaper = Examinationpaper.practice;
|
|
ScoreManager.Instance.Subject = Subject.Performanceexamination;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
public void Powersupplay()
|
|
{
|
|
//ScoreManager.Instance.Examinationpaper = Examinationpaper.Powersupplytest;
|
|
ScoreManager.Instance.Subject = Subject.Electricchargeexercise;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
public void Electricity()
|
|
{
|
|
//ScoreManager.Instance.Examinationpaper = Examinationpaper.Electricityfeetest;
|
|
ScoreManager.Instance.Subject = Subject.Electricityfeetest;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
public void Powersupplyexercises()
|
|
{
|
|
ScoreManager.Instance.Subject = Subject.Aluminoelectricexercise;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
public void Powersupplytests()
|
|
{
|
|
|
|
ScoreManager.Instance.Subject = Subject.Aluminumelectricaltest;
|
|
SceneManager.LoadScene("shanxii");
|
|
|
|
}
|
|
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|