For more detail this asset from the Unity Asset Store: Click Here
This is a paid asset, but now you can download EASY JOYSTICK 4.6 for FREE, Please keep in mind this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
EASY JOYSTICK 4.6 v1.0
“If possible, please buy the package to support the developer”
Package contains easy to create and integrate joystick script, done using new unity UI system.
-EasyJoystick.MoveInput() – returns vector3 for movement.
– EasyJoystick.Rotate(transformToRotate, rotateSpeed) – Rotation function, usefull for look rotation.
– EasyJoystick.IsPressed() – returns true if joystick is pressed and conversely, usefull for fire functions and so on.
– EasyJoystick.Enable(boolean) – enable or disable joystick, use this to disable and hide controlls.
Supports Screen Space – Overlay and Screen Space – Camera render modes.
Works properly with different resolutions and anchor types.
Demo scene is included.