Exemple #1
0
 /// <summary>
 /// Is called by Visual Studio on demand.
 /// </summary>
 protected override void Initialize()
 {
     XLog.Init();
     XContextMonitor.Init(this);
     Ide.Init(this);
     Persistence.Init(this);
     ServerManager.Init(this);
     MenuCommands.Initialize(this);
     ServerManager.Update();
     base.Initialize();
 }
Exemple #2
0
    public void Awake()
    {
        XLog.Init();
        this.m_log.Debug("ClientMain.Awake()");
        //LuaWrapper.singleton.Awake();
        //Singleton<ScreenManager>.singleton.Awake();//屏幕分辨率类
        Singleton <CursorManager> .singleton.Awake(); //鼠标设置类

        Singleton <CWindowHandle> .singleton.Init();  //窗口化设置类

        this.m_log.Debug("ClientMain.Awake()结束");
    }