12345678910111213141516171819202122232425 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class MineWIndowManager : MonoBehaviour
- {
- public GameObject mainGo;
- public GameObject duoYuYan;
- public void gotoDYY()
- {
- QuanJuBackManager.windowChanage(duoYuYan,mainGo);
- duoYuYan.SetActive(true);
- mainGo.SetActive(false);
- }
- public void gotoMain()
- {
- duoYuYan.SetActive(false);
- mainGo.SetActive(true);
- }
- void OnEnable()
- {
- gotoMain();
- }
- }
|