Skip to content

Prefabs to help create touch buttons with the new input system.

License

Notifications You must be signed in to change notification settings

jhmaverick/VirtualButtonsForUnity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Buttons for Unity

Unity Asset Store

Prefabs to help create touch buttons with the new input system.

Prefabs:

  • Fixed position joystick;
  • Floating joystick with options to recenter and hide on release;
  • Directional button that is activated by clicking on any position around the center and responds to being dragged from one direction to another;
  • Directional button variations for moving vertically or horizontally;
  • Button for actions with animation when pressing.

UPM Package

Open Package Manager and select "Add package from git URL"

https://github.com/jhmaverick/VirtualButtonsForUnity.git?path=/VirtualButtonsForUnity/

or adding in /Packages/manifest.json

"com.cyberghostgames.virtualbuttons": "https://github.com/jhmaverick/VirtualButtonsForUnity.git?path=/VirtualButtonsForUnity/"

Notes

There is a bug in the new input system version 1.0.x that keeps the stick pressed when pressing 2 buttons at the same time as can be seen in this issue.

The bug has been fixed in version (1.1-preview.3), while version 1.1 is not officially released, you can check the latest development version and manually apply it to your project at (/Packages/manifest.json).

About

Prefabs to help create touch buttons with the new input system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages