public static GUILoad Instance() { if (instance == null) { instance = new GUILoad(); } return(instance); }
/// <summary> /// 点击关卡按钮时执行 /// </summary> /// <param name="go">Go.</param> public void LevelClick(GameObject go) { ConstValue.level = int.Parse(go.name); GUILoad.Instance().SetLoad(GUILoadGame.Instance()); GUIManager.It.GetFSM().ChangeState(GUILoad.Instance()); }