Releases: NeKoRoSYS/NKRsys-Mobile-Input-Handling
Releases · NeKoRoSYS/NKRsys-Mobile-Input-Handling
1.2.3 - More Changes
What has changed?
(New Input System) ControlExtension
- Attach it to a
ControlButton
orControlStick
for extra control over the inputs you send
ControlStick
- Added new event
OnStickFullInput
that gets invoked ifControlStick
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 fromControlButton
(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: 1.2.2...1.2.3
1.2.2
What has changed?
- Fixed a minor visual bug
Full Changelog: 1.2.1...1.2.2
The asset is as good as finished, to be honest. Will be releasing it soon to Unity's Asset Marketplace!
1.2.1 - Adjustments
What has changed?
- Changed up formatting for both
ControlButton
andControlButtonLegacy
. - Changed
Awake
methods to useStart
instead. - Removed
OnStartPress
andOnStopPress
for bothControlButton
andControlButtonLegacy
, please useOnButtonAction
instead. - Merged the
PressButton
andReleaseButton
methods into a new method calledProcessInput
. - Checking for double tapping is now separated into its own thing.
- Made it so color fading for
ControlButton
andControlButtonLegacy
now snaps perfectly to target value after lerping.
Full Changelog: 1.2.0...1.2.1
1.2.0 - Compatibility
What has changed?
- Added support for the Legacy Input System!
-
Differences
- Replaced the
InputControl
layout binding andm_ControlPath
string with anisPressed
boolean forControlButtonLegacy
. (You can also subscribe to theOnStartPress
,OnStopPress
, andOnDoubleTap
events too!) - Removed the
InputControl
layout binding forControlStickLegacy
, either check for theinput
Vector2 or subscribe to theOnStickDrag
event instead! ControlPadLegacy
usesInput.Touches
instead ofTouch.activeTouches
.
- Replaced the
1.1.1 - Hotfix and New Features
What has changed?
- Accidental removal of multitouch support for the
ControlPad
script has been fixed. - Added double tapping support for
ControlButton
script.
1.1.0 - Improvements and Optimization
What has changed?
ControlPad
'sGetTouch()
method now only gets called when there are active touches on the screen.- Made it so overlapping
ControlButton
s can function simultaneously when pressed.
1.0.0 - First Release
Update README.md