Skip to content

screenshakes/Desktopia

Repository files navigation

Desktopia is a library that helps you to easily build Windows desktop games and experiences in Unity.

Install

In Unity go into Windows > Package Manager.
In the Package Manager, click the + sign then Add package from git url.
Paste this url: https://github.com/screenshakes/Desktopia.git then click add.

Getting started

Import the samples scenes into your project from the package manager or drop the [Desktopia] prefab into one your scene and check the features you want to try out.

If your transparent window does not work:
Got to to Project Settings > Resolution and Presentation
Uncheck "Use DXGI Flip Model Swapchain for D3D11"

Features

Windows

Used to modify the properties of any window.

  • Transparent window
  • Click through window
  • Top most window
  • Minimize / Maximize window
  • Focus window
  • Set window position
  • Set window size
  • Set window title
  • Send text to the window
  • Send key input to the window

Inputs

Used to listen to system-wide inputs.

  • Get key down / pressed / up
  • Get mouse button down / pressed / up
  • Add on key down / up callback
  • Add on mouse button down / up callback
  • Add on mouse move callback

Cursor

Used to modify the position of the cursor.

Colliders

Used to have screen space collision between objects and the opened windows.

File Drag and Drop

Used to add callbacks that get invoked when a user drops a file into the window.

About

Unity Desktop Library

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages