UniWinApi is an old project.
See my new repository UniWindowController.
It works on both Mac and Windows.
UniWinApi is a library using Windows APIs. It allows us the following operations which are not available normary in Unity.
- Move the window
- Resize the window
- Maximize the window
- Minimize the window
- Make the window transparent (Make the window non-rectangle and unframed)
- Accept file drop
- Open file dialog (Test implementation, single file only)
- Move the cursor pointer
- Send mouse button events
This repository contains a project for a desktop mascot style VRM viewer as an application example of using UniWinApi.
Image video YouTube
- There is a pre-built VRM viewer 'UniWinApiVrmViewer' in Releases
- Latest UniWinApi core asset package
Archives
- Ver.0.6.0 Added Allow Drop From Lower Privilege setting
- Ver.0.5.0 Added layered window mode
- Ver.0.4.0-beta
- Ver.0.3.3 Updated to UniVRM 0.44
- Ver.0.3.2 Added Looking at cursor
- Ver.0.3.1 Enable transparent on startup
- Ver.0.3.0 Added rotation and translation for light
- Ver.0.2.3 Imported UniVRM 0.42. Set FOV at 10deg.
- Ver.0.2.2 Set the light color white
- Ver.0.2.1 Updated the shader
- Ver.0.2.0 Firtst release
UniWinApiAsset is CC0, but several other projects are used in this VRM viewer.
-
CC0
- UniWinApiAsset
- The asset in the .unitypackage except for the VRM viewer.
- The source code is maintained in another repository.
- UniWinApiAsset
-
MIT License
-
Other
- HumanoidCollider / Article on Qiita by ゆず @Yuzu_Unity
- UI-Default-ZWrite in the CustomShaders folder
- 2018.4.20 or lator
- Windows 10
If you just want to try to run the VRM viewer, extract the downloaded zip file and run UniWinApiVrmViewer.exe.
After launching, drag and drop your VRM model and the model will be displayed.
To use UniWinApi-vXXXXX.unitypackage without the VRM viewer project (which is the main part of UniWinApi), watch a tutorial.
To build the VRM viewer, clone the repository and open it in Unity's editor.
- I used to use Unity-chan's animation, but since we excluded that, you can open it without preparing other assets separately.