34 lines
675 B
C#
34 lines
675 B
C#
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using XFrame.Core.Localization;
|
|
using XFrame.Core.UI;
|
|
using XFrame.Core.Utils;
|
|
public class GameMain : MonoBehaviour {
|
|
|
|
private void Awake()
|
|
{
|
|
Instance = this;
|
|
}
|
|
public static GameMain Instance;
|
|
|
|
public static bool model =false;
|
|
public static bool tiao =true;
|
|
public static bool visit = false;
|
|
public static bool skip = true;
|
|
private void Start()
|
|
{
|
|
GameObject.Find("UIRoot1").SetActive(false);
|
|
Singleton<Localization>.Create().Language = Localization.CHINESE;
|
|
XUIPanel.ShowPanel<Main_interface_Panel>();
|
|
}
|
|
|
|
|
|
|
|
|
|
void Setstring()
|
|
{
|
|
|
|
|
|
}
|
|
}
|