Exemplo n.º 1
0
 void Start()
 {
     option = new GUILayoutOption[] { GUILayout.Width(140), GUILayout.Height(80) };
     GameEnine.SetMonoForTest(this);
     XTimerMgr.singleton.Init();
     XConfig.Initial(LogLevel.Log, LogLevel.Error);
     XGlobalConfig.Initial();
     XResources.Init();
 }
Exemplo n.º 2
0
    public static void Init(MonoBehaviour en)
    {
        _entrance = en;
        Application.targetFrameRate = 60;
#if Native
        NativeInterface.Init();
#endif
        XTimerMgr.singleton.Init();
        XConfig.Initial(LogLevel.Log, LogLevel.Error);
        XGlobalConfig.Initial();
        XTableMgr.Initial();
        ShaderMgr.Init();
        XResources.Init();
        UIManager.singleton.Initial();
        Documents.singleton.Initial();
        RegistCallbackLog();
    }