YiHe_AllVersion/YHWeb/Assets/YHElectric/Scripts/Manager/GameMain.cs

20 lines
377 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XFrame.Core.UI;
namespace YHElectric
{
public class GameMain : MonoBehaviour
{
private void Awake()
{
GameObject.Find("UIRoot1").SetActive(false);
}
void Start()
{
XUIPanel.ShowPanel<IndexPanel>();
}
}
}