1234567891011121314151617181920212223242526272829303132 |
- using LitJson;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using XRTool.Util;
- public class GameScene : MonoSingleton<GameScene>
- {
- public GameObject o20;
- public GameObject o21;
- public GameObject Canvas;
- private void Start()
- {
- }
- public List<GameObject> UIList = new List<GameObject>();
- public void ShowScenes()
- {
- //»ñÈ¡ËùÓг¡¾° ²¢³õʼ»¯UI
- (UserSceneUI.Instance).show();
- UIManager.Instance.HideUI(UINameConfig.LoadingPanel);
- UIManager.Instance.HideUI(UINameConfig.LoginPanel);
- o20.SetActive(true);
- o21.SetActive(false);
- o20.transform.parent.gameObject.SetActive(true);
- }
- public void gotoScenes(string id)
- {
- UserSceneManager.Instance.gotoScene(id);
- }
- }
|