#Mobile Input Handler Solution

1 messages · Page 1 of 1 (latest)

lethal marlin
#

https://github.com/NeKoRoSYS/NKRsys-Mobile-Input-Handling

Inspired by the default On-Screen controls by the New Input System, I have decided to create an even better and extended version of them! More info at the GitHub README.

Below is a prototype game with Titanfall-esque movement, integrated with mobile controls for full support

Features:

  • Multitouch support
  • Support for Legacy (Not Tested) and New Input System

DISCLAIMER - Does not come with settings UI.

GitHub

An open-source project dedicated to providing mobile game developers a quick headstart on setting up mobile/touch controls for their Unity game. - GitHub - NeKoRoSYS/NKRsys-Mobile-Input-Handling: ...

lethal marlin
lethal marlin
sweet hemlock
#

I actually made something similar to this

#

But yours are more featured fully

#

kinda weird on how new input systems works for UI

lethal marlin
#

What has changed?

(New Input System) ControlExtension

  • Attach it to a ControlButton or ControlStick for extra control over the inputs you send

ControlStick

  • Added new event OnStickFullInput that gets invoked if ControlStick has been dragged to its max range

Miscellaneous

  • Re-arranged the variables and some methods, and added headers
  • Updated Legacy scripts, removed the unnecessary using declarations from ControlButton (I forgor)
  • Added a ControlStick Prefab (only for New Input System but you may copy how everything is arranged except the scripts) because I just now realized how confusing this could be to set up, enjoy!

Full Changelog: https://github.com/NeKoRoSYS/NKRsys-Mobile-Input-Handling/compare/1.2.2...1.2.3

GitHub

An open-source project dedicated to providing mobile game developers a quick headstart on setting up mobile/touch controls for their Unity game. - NeKoRoSYS/NKRsys-Mobile-Input-Handling

GitHub

An open-source project dedicated to providing mobile game developers a quick headstart on setting up mobile/touch controls for their Unity game. - Comparing 1.2.2...1.2.3 · NeKoRoSYS/NKRsys-Mobile...

lethal marlin