Giter VIP home page Giter VIP logo

uniwinapi's Introduction

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.

uniwinapi's People

Contributors

kirurobo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uniwinapi's Issues

Motion Load Failed

I am attempting to use the pre-built vrm viewer however when I load in one of my models it shows them in t-pose and I receive a "Motion Load Failed" prompt under config. The head is tracking to the mouse but besides that my avatar is stuck in t-pose. How can I fix this?

Unity2019環境で背景の透過が正常に動作しない

UniWinApiを使わせて頂いています。
素晴らしいアセットをありがとうございます。

本題ですが、Unity2019.1.3f1環境でUniWinApiを使用したところ背景透過を行っても黒背景の画面が出る状態で透過できない状態になってしまいます。
ウィンドウを最前面、透過時にタイトルバーを非表示するなどは動作しているようです。

2019環境で問題の方ご確認頂けると幸いです。

Windows タッチ処理の対応

現行の実装は、ポインティングデバイスとしてマウスのみを想定していると思われます。
しかしWindows10タブレットは、ものによっては2点以上同時にタッチできるものがあります。
UniWinApiで開発した「伺か」モドキはマウスであれば正常に動作しますが、同一の動作をタッチ処理に替えると一部が正常に動作しません。

具体的な再現手順は次のとおりです。

  1. Google Chromeなどのマルチタッチ対応プロセスウィンドウをデスクトップに展開 (最大化されていなくても良い)
  2. その上にUniWinApi製「伺か」モドキを起動
  3. UniWinApi製「伺か」モドキから離れた場所でGoogle Chromeをタッチ→伺かモドキからウィンドウのフォーカスが外れる、しかし「伺か」自体は最前面に表示されっぱなし
  4. 最前面に表示されっぱなしの伺かをタップしても反応がない。イベントがすり抜け、下のGoogle Chromeがイベントをキャッチしてしまう。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.