Releases: NeKoRoSYS/NKRsys-Mobile-Input-Handling
Releases · NeKoRoSYS/NKRsys-Mobile-Input-Handling
1.2.4 - Minor Adjustments with a Hint of Injection
What has changed?
DOTween Implementation
- Replaces the Coroutine functions inside the ControlButtonLegacy and ControlButton components.
- Using DOTween Tweens is more optimal than using Coroutines as it makes less to no garbage.
Others
- Updated
README.md. - Simplified some code.
- Added
OnDisable()methods to each script that calls their respectiveForceStopTouch()methods that disables input. This can be handy for in preventing "stuck" inputs and visuals.
Full Changelog: 1.2.3...1.2.4
1.2.3 - More Changes
What has changed?
(New Input System) ControlExtension
- Attach it to a
ControlButtonorControlStickfor extra control over the inputs you send
ControlStick
- Added new event
OnStickFullInputthat gets invoked ifControlStickhas been dragged to its max range
Miscellaneous
- Re-arranged the variables and some methods, and added headers
- Updated Legacy scripts, removed the unnecessary
usingdeclarations fromControlButton(I forgor) - Added a
ControlStickPrefab (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
ControlButtonandControlButtonLegacy. - Changed
Awakemethods to useStartinstead. - Removed
OnStartPressandOnStopPressfor bothControlButtonandControlButtonLegacy, please useOnButtonActioninstead. - Merged the
PressButtonandReleaseButtonmethods into a new method calledProcessInput. - Checking for double tapping is now separated into its own thing.
- Made it so color fading for
ControlButtonandControlButtonLegacynow 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
InputControllayout binding andm_ControlPathstring with anisPressedboolean forControlButtonLegacy. (You can also subscribe to theOnStartPress,OnStopPress, andOnDoubleTapevents too!) - Removed the
InputControllayout binding forControlStickLegacy, either check for theinputVector2 or subscribe to theOnStickDragevent instead! ControlPadLegacyusesInput.Touchesinstead ofTouch.activeTouches.
- Replaced the
1.1.1 - Hotfix and New Features
What has changed?
- Accidental removal of multitouch support for the
ControlPadscript has been fixed. - Added double tapping support for
ControlButtonscript.
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
ControlButtons can function simultaneously when pressed.
1.0.0 - First Release
Update README.md