Exemplo n.º 1
0
    public void Start()
    {
        SetupDesktop.windowOffset    = windowOffset;
        SetupDesktop.hideFromTaskbar = hideFromTaskbar;
        SetupDesktop.neverHide       = neverHideWindow;
        SetupDesktop.keepBottomMost  = keepBottomMost;
        SetupDesktop.borderless      = borderless;
        SetupDesktop.behindIcons     = behindIcons;
        SetupDesktop.Initialize();

        SetupDesktop.AddWinProc();

        if (useRainityInput)
        {
            RainityInput.Initialize();
        }

        Application.runInBackground = true;
    }
Exemplo n.º 2
0
    IEnumerator WaitAndApply()
    {
        yield return(new WaitForSeconds(0.5f));

        SetupDesktop.AddWinProc();
    }