Hey i just bought an Android to test applications on it, i have no problem in how to set up the controls for computer but i can't find a way to set up a virtual joystick like most of the applications to control the player or for example selecting a choice i always have to select the first, maybe someone who use it on Android can help me ? Thank you :)
I can use the mobile joystick that comes with unity and have tried some from the asset store as well with success. I use the custom controls setup and type in the name of the script that has the controls as in the how to.
Can do it but for the interface i mean there is ni scroll i can't browse choices one touche is selecting thé highlighted choice i would like a setup like if i type on a choice it sélects this choice..
You can create virtual controls with Control type HUDs to set input keys. When using custom controls, you can change ORK's input keys using this code:
ORK.InputKeys.Get(int index).SetAxis(float axis);
Where index is the ID of the input key and axis is the pressed axis of the key. When an input key is used as a button, every axis that isn't 0 will trigger the input. If it's an actual axis (e.g. for moving the player or selecting a choice), the axis ranges from -1 to 1.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
@Catacomber : i meant i have an array of button and wherever i tap iy can be on the sky on the ground or on the screen border it inputs the accept key on the button and i wanted a control like you tap on the button and it's done..