Git Product home page Git Product logo

radialcontrollerunitybridge's Introduction

RadialControllerUnityBridge

Connecting your Surface Dial to your Unity UWP Project

demo2

Unity Bridge for the Surface Dial / Radial Controller for use in UWP apps.

  • RadialController.UWP - The UWP Library that the Unity Editor uses
  • RadialController.UWP.WSA - THe UWP Library that is used by the UWP build
  • RadialControllerProject - The Unity Demo project to show you how to link everything up

BIG NOTE

You need to build the UWP project for the dial to connect to your app. The Dial will notn work within Unity, the plugin will only have access to the UWP RadialController framework when in the UWP runtime.

Smaller Note

This doesn't have support for Desktop Unity builds, only UWP.

Inspector

The inspector is pretty simple. Two behaviours exists, although this might change to a single one. You have the event manager, which is used to hook events with teh radial controller, and the RadialCongrollerBehaviour is used to update the configuration. It has a custom editor, which as you can see from the image below, gives you the ability to set default precision and haptic feedback settings.

inpector

The next section is where you add menu items. Set a menu title, and then set the icon image. The icon is best at 64x64 pixels, and must be configured as a cursor. Example below on how to set that up.

inpector

The Demo Project Folders

There are a few folders, the most important to note is the plugins folder. This contains the bridge DLL and the bridge WSA DLL for the UWP application build.

folders

radialcontrollerunitybridge's People

Contributors

cefoot-dex avatar vaughanknight avatar

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.