Пример #1
0
        private void OnDestroy()
        {
            RawKeyInput.Stop();
            FrameworkEx.Cleanup();

            RestoreItems();
            RestoreDesktop();
        }
Пример #2
0
        public void Awake()
        {
            Application.runInBackground = true;

            FrameworkEx.Initialize();

            RawKeyInput.Start(true);
            RawKeyInput.InterceptMessages = !Config.SaveInput;
            RawKeyInput.OnKeyUp          += OnExitKey;

            SetupDesktop();
            SetupItems();

            Minimize();
        }