Publisher | EYESTRIP |
---|---|
File size | 82.17kB |
Number of files | 10 |
Latest version | 1 |
Latest release date | 2015-03-23 10:17:15 |
First release date | 2015-03-23 10:17:15 |
Supported Unity versions | 2018.4.2 or higher |
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.
-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.