View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.1.0
- Last updated
- First released
- Unity version
- 2020.3.1 or later
- Package size
- 853 KB
- Files
- 17
- Favorites
- 30
- Views in the past week
- 5
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
New Input By Reference - Demo
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.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
New Input By Reference - Demo screenshot 1
About this asset
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?
From the publisher's Asset Store listing.
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.
Compatibility
| Unity version | Built-in | URP | HDRP |
|---|---|---|---|
| 2020.3.1f1 | Compatible | Compatible | Compatible |
As listed on the Asset Store.