48 lines
1.1 KiB
C#
48 lines
1.1 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
using UnityEngine.UI;
|
|
|
|
public class MainSelect : MonoBehaviour
|
|
{
|
|
public GameObject mainpanl;
|
|
public Button practicebutton;
|
|
public Button examinationbutton;
|
|
public Button Powersupplytest;
|
|
public Button Electricityfeetest;
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
public void Examinat()
|
|
{
|
|
ScoreManager.Instance.Examinationpaper = Examinationpaper.Reviewexamination;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
|
|
public void Practice()
|
|
{
|
|
ScoreManager.Instance.Examinationpaper = Examinationpaper.practice;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
public void Powersupplay()
|
|
{
|
|
ScoreManager.Instance.Examinationpaper = Examinationpaper.Powersupplytest;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
public void Electricity()
|
|
{
|
|
ScoreManager.Instance.Examinationpaper = Examinationpaper.Electricityfeetest;
|
|
SceneManager.LoadScene("shanxii");
|
|
}
|
|
|
|
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|