1234567891011121314151617181920212223242526272829303132 |
- using UnityEngine;
- using System.Collections;
- /// <summary>
- /// ��Ϸ�������
- /// </summary>
- public class Main : MonoBehaviour
- {
- void Start()
- {
- this.Initialize();
- }
- /// <summary>
- /// ��Ϸ������ڵ�ַ
- /// </summary>
- public void Initialize()
- {
- // �������֡��
- Application.targetFrameRate = Const.GAME_MAX_FRAME;
- LogHelper.Log("Enter update scene");
- // FairyGUI.UIPackage.AddPackage("ui/all");
- // this.gameObject.AddComponent<FGUI_Login>();
- // PanelHelper.Instance.ShowPanel("UI_UpdateWindow", (GameObject uiObj) =>{ });
- PanelHelper.Instance.ShowPanel("UI_SplashWindow",(GameObject panel) =>
- {
- });
- }
- }
|