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; /// /// ¿¼ÊÔÁ·Ï°Í¼Æ¬ /// public Image testpracticeimage; /// /// ¼ÓÔØ¿¼ÊÔÁ·Ï°Í¼Æ¬ /// public Sprite practicesprite; private void Awake() { Init(); } /// /// ³õʼ»¯Ò³Ãæ /// private void Init() { practicesprite = Resources.Load("UIpanel/¿¼ÊÔģʽ"); if (ScoreManager.Instance.Examinationpaper == Examinationpaper.Reviewexamination) { testpracticeimage.sprite = practicesprite; 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() { } }