New Input By Reference - Demo
The BlindEye
$0.0
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
04/28(2022) |
0.0 |
11/17(2024) |
0.0 |
Jump AssetStore
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.This is a demo asset for New Input By Reference. The following features are excluded from the demo version:Input Data & its associated functionsDemo Action MapGenerate Input Data WindowStartRebinding functionGetBindingName function does not support composite input actionFewer premade actions for Demo Input Action AssetCustom errorsNEW! 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?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.