示例#1
0
 public static GUILoad Instance()
 {
     if (instance == null)
     {
         instance = new GUILoad();
     }
     return(instance);
 }
示例#2
0
 /// <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());
 }