1234567891011121314151617181920212223242526 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class MineWIndowManager : MonoBehaviour
- {
- public GameObject mainGo;
- public GameObject duoYuYan;
- public void gotoDYY()
- {
- QuanJuBackManager.Instance.nowWindow = duoYuYan;
- QuanJuBackManager.Instance.setStack(mainGo);
- duoYuYan.SetActive(true);
- mainGo.SetActive(false);
- }
- public void gotoMain()
- {
- duoYuYan.SetActive(false);
- mainGo.SetActive(true);
- }
- void OnEnable()
- {
- gotoMain();
- }
- }
|