Skip to content

Releases: NeKoRoSYS/NKRsys-Mobile-Input-Handling

1.2.3 - More Changes

17 Apr 04:53
ed2c944
Compare
Choose a tag to compare

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: 1.2.2...1.2.3

1.2.2

09 Apr 05:32
680c237
Compare
Choose a tag to compare

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

26 Aug 05:02
36fceee
Compare
Choose a tag to compare

What has changed?

  • Changed up formatting for both ControlButton and ControlButtonLegacy.
  • Changed Awake methods to use Start instead.
  • Removed OnStartPress and OnStopPress for both ControlButton and ControlButtonLegacy, please use OnButtonAction instead.
  • Merged the PressButton and ReleaseButton methods into a new method called ProcessInput.
  • Checking for double tapping is now separated into its own thing.
  • Made it so color fading for ControlButton and ControlButtonLegacy now snaps perfectly to target value after lerping.

Full Changelog: 1.2.0...1.2.1

1.2.0 - Compatibility

08 Jul 10:00
fa1c59d
Compare
Choose a tag to compare

What has changed?

  • Added support for the Legacy Input System!
  • Differences

    • Replaced the InputControl layout binding and m_ControlPath string with an isPressed boolean for ControlButtonLegacy. (You can also subscribe to the OnStartPress, OnStopPress, and OnDoubleTap events too!)
    • Removed the InputControl layout binding for ControlStickLegacy, either check for the input Vector2 or subscribe to the OnStickDrag event instead!
    • ControlPadLegacy uses Input.Touches instead of Touch.activeTouches.

1.1.1 - Hotfix and New Features

30 Jun 04:17
7a21f24
Compare
Choose a tag to compare

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

29 Jun 04:26
8712409
Compare
Choose a tag to compare

What has changed?

  • ControlPad's GetTouch() 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

28 Jun 09:14
35b0e14
Compare
Choose a tag to compare
Update README.md