New Input By Reference - Demo

FREE
Publisher The BlindEye
File size 852.86kB
Number of files 17
Latest version 1.1.0
Latest release date 2022-05-25 10:22:14
First release date 2022-04-28 07:20:19
Supported Unity versions 2018.4.2 or higher

This is a demo asset for New Input By Reference


The following features are excluded from the demo version:

  • Input Data & its associated functions
  • Demo Action Map
  • Generate Input Data Window
  • StartRebinding function
  • GetBindingName function does not support composite input action
  • Fewer premade actions for Demo Input Action Asset
  • Custom errors

NEW! It is now possible to rebind actions (multiple Input Action Assets support).

  • To save/load the rebinds, Unity's new Input System version 1.1.1 or higher Is required.

All of the functions listed below are included in this package and can be used under the NewInputByReference namespace.


  • Action Map

ㅤㅤㅤㅤvoid NewInput.SwitchActionMap(string actionMap)

ㅤㅤㅤㅤvoid NewInput.EnableActionMap(string actionMap)

ㅤㅤㅤㅤvoid NewInput.DisableActionMap(string actionMap)


  • Rebind Functions

ㅤㅤㅤㅤvoid NewInput.Rebind(string actionName, string bindingPath,

ㅤㅤㅤㅤint bindingIndex = 0)


ㅤㅤㅤㅤstring NewInput.GetBindingName(string actionName,

ㅤㅤㅤㅤint bindingIndex = 0)


ㅤㅤㅤㅤvoid NewInput.ResetRebinds()


ㅤㅤㅤㅤvoid NewInput.ResetRebind(string actionName,

ㅤㅤㅤㅤint bindingIndex = 0)


  • Button Action Type

ㅤㅤㅤㅤbool NewInput.GetButtonDown(string actionName)

ㅤㅤㅤㅤbool NewInput.GetButton(string actionName)

ㅤㅤㅤㅤbool NewInput.GetButtonUp(string actionName)


  • Value Action Type

ㅤㅤㅤㅤfloat NewInput.GetAxis(string actionName)

ㅤㅤㅤㅤVector2 NewInput.GetVector2(string actionName)

ㅤㅤㅤㅤVector3 NewInput.GetVector3(string actionName)


A full walkthrough of the Package can be found in the Documentation.


Contents of the Documentation:

ㅤㅤㅤㅤ1. What is included with the Package?

ㅤㅤㅤㅤ2. What are the Functions?

ㅤㅤㅤㅤ3. How to set up a Project to use the Package?

ㅤㅤㅤㅤ4. What do custom errors indicate?

ㅤㅤㅤㅤ5. What are some script examples?

ㅤㅤㅤㅤ6. What are some tips?

Top Publisher Assets