Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashwaniarya/Unity3D-Simple-Mobile-Joystick
Mobile Joystick suitable for any types of game
https://github.com/ashwaniarya/Unity3D-Simple-Mobile-Joystick
game-development mobile unity3d virtual-joystick
Last synced: 3 months ago
JSON representation
Mobile Joystick suitable for any types of game
- Host: GitHub
- URL: https://github.com/ashwaniarya/Unity3D-Simple-Mobile-Joystick
- Owner: ashwaniarya
- License: gpl-3.0
- Created: 2017-08-15T11:18:08.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-15T15:19:10.000Z (over 7 years ago)
- Last Synced: 2024-05-13T20:58:25.652Z (9 months ago)
- Topics: game-development, mobile, unity3d, virtual-joystick
- Language: C#
- Size: 1.4 MB
- Stars: 111
- Watchers: 8
- Forks: 37
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Unity3D-Simple-Mobile-Joystick
Mobile Joystick suitable for any types of game
## OverviewJoystick controller for touchscreen device in unity 3d.
![](Images/AddControllerDesc_LI.jpg)
Similar arributes as unity native Input axis.
## Demo
![]()
![]()
Moving Character Forward
Moving Character Backward
![]()
![]()
Moving Character Left
Moving Character Right
![]()
![]()
Rotating Character Left
Rotating Character Right
# Usages
## Parameter
Name
Description
Horizontal
Stores values of horizontal movement of the stick.
left: -1
center: 0
right: +1
Vertical
Stores values of vertical movement of the stick.
Up: -1
center: 0
down: +1
## Methods
Name
Description
public Vector2Coordinate
Returns
Vector2 with
x axis: Horizontal
y axis: Vertical