MOST Controller
Last updated
Last updated
The best solution for mobile input controllers and supporting keyboard keys all possible variations of Custom buttons and joysticks with multiple input source support
_____ * How to import and use the MOST Spawn System? * _____ 1- Create an empty object on your UI Canvas (will become the controller... Button, Joystick.....)
2- Select this object and tap Add Component
3- select Most_Control.cs
4- Modify the controller properties as they fit your vision and done... you have an input controller
Note:
The Controller system is only one .cs file contains all UI Input controllers (all types of Buttons + all types of joysticks + swipes)
You will find examples for most common controller variations and how to use it
The target UI Sprite object can be used in multiple controllers like use it to get inputs from screen (one controller) and keyboard (another controller), see examples below
_____ * Features * _____
Using Most_Controller you can create all possible variations of Custom buttons and joysticks
Support Multiple input sources in one controller
Support multitouch in the MOST efficient way
Support all mobile devices and all custom keyboard inputs
Support Swipes, Hover triggers, custom zones
complete debug system and all state output detections
_____ * Outputs * _____
Note:
All output can be accessed using .cs calls or event systems
If Output refers to a value the event system will send this value to the attached functions, for example: On Direction change event will send the new direction value
You will find all output values next to the Event brackets
what is Raw output? the distance in vector between the joystick knob center position and the max position that Knob can reach
Raw output used for? or examples?
Note: when Knob is close to the center the throw aim sprite disappears (this is an optional setting on controller "Min Activation Range")
Is There a Direction snap system?
Yes... and it's very simple to set, there is a drop-down menu for 4, 8, and Free direction snap system you can select between... then the system output will snap directly.
you will find examples for all of MOST Movement systems (Move, Grid Move) using direction snap Check MOST Free Move and MOST Grid Move
__________ * API * __________