Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/screenshakes/Desktopia
Unity Desktop Library
https://github.com/screenshakes/Desktopia
desktop unity
Last synced: about 2 months ago
JSON representation
Unity Desktop Library
- Host: GitHub
- URL: https://github.com/screenshakes/Desktopia
- Owner: screenshakes
- License: mit
- Created: 2020-04-28T21:24:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-12-22T18:27:18.000Z (about 3 years ago)
- Last Synced: 2024-08-02T05:17:08.992Z (5 months ago)
- Topics: desktop, unity
- Language: C#
- Homepage: https://unnamedcollective.itch.io/desktopia
- Size: 127 KB
- Stars: 58
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
![](./Editor/Textures/Desktopia.png)
### Desktopia is a library that helps you to easily build Windows desktop games and experiences in Unity.
#### [Forum](https://unnamedcollective.itch.io/desktopia/community) - [Twitter](https://twitter.com/screenshakes) - [Discord](https://discord.gg/yPVq4a9bcw)
**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._