/UniWinApi

Windows API collection for Unity

Primary LanguageC#

An Example project for UniWinApi

UniWinApi is an old project.
See my new repository UniWindowController.
It works on both Mac and Windows.


What's UniWinApi

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

What's this repository

This repository contains a project for a desktop mascot style VRM viewer as an application example of using UniWinApi. UniWinApi VRM viewer
Image video YouTube

Download

Archives

License

UniWinApiAsset is CC0, but several other projects are used in this VRM viewer.

System requirements

  • 2018.4.20 or lator
  • Windows 10

Usage

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.