Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Input Management
1/4
A small package that facilitates development by integrating Unity's new Input System with the old Input Manager syntax. It includes functions such as GetButtonDown, GetButton, and others.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2020.3.1f1
Compatible
Compatible
Compatible
Description

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?

Technical details

This package contains:

  • Demo Input Action Asset, an Input Action Asset that contains a collection of Input Actions that can be extended upon.
  • Demo Input Handler, a Prefab that's already configured to function with the Demo Input Action Asset.

New Input By Reference - Demo

(not enough ratings)
25 users have favourite this asset
(25)
FREE
License type
File size
852.9 KB
Latest version
1.1.0
Latest release date
May 25, 2022
Original Unity version
2020.3.1
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR
FREE