ShanxiKnowledgeBase/SXElectricity Marketing 2.0/Assets/Zion/Scripts/YL/Examinationmode.cs

43 lines
999 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Examinationmode : MonoBehaviour
{
public GameObject firstcontent, secondcontent, thirdcontent, numberfourcontent, fifthcontent, sixthcontent, seventhcontent, eighthcontent;
private void Awake()
{
Init();
}
/// <summary>
/// ³õʼ»¯Ò³Ãæ
/// </summary>
private void Init()
{
if (ScoreManager.Instance.Examinationpaper == Examinationpaper.Reviewexamination)
{
firstcontent.SetActive(false);
secondcontent.SetActive(false);
thirdcontent.SetActive(false);
numberfourcontent.SetActive(false);
fifthcontent.SetActive(false);
sixthcontent.SetActive(false);
seventhcontent.SetActive(false);
eighthcontent.SetActive(false);
}
}
void Start()
{
}
void Update()
{
}
}