• Stars
    star
    107
  • Rank 323,587 (Top 7 %)
  • Language
    C#
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Mobile Joystick suitable for any types of game

Unity3D-Simple-Mobile-Joystick

Mobile Joystick suitable for any types of game

Overview

Joystick controller for touchscreen device in unity 3d.

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 Vector2

Coordinate

Returns

Vector2 with

x axis: Horizontal

y axis: Vertical