Search Results
7/7/2025, 4:54:37 PM
>>530298749
>the most basic prototype hackey way
InputSystem.actions.FindAction("Move").ReadValue<Vector2>()
>still polling, but without creating garbage by finding the action by caching the action
var moveAction = InputSystem.actions.FindAction("Move)
moveAction.ReadValue<Vector2>()
>event based, call a function only when the action did something, useful for button type actions
InputSystem.actions.FindAction("Fire").performerd += FireGun
>the most basic prototype hackey way
InputSystem.actions.FindAction("Move").ReadValue<Vector2>()
>still polling, but without creating garbage by finding the action by caching the action
var moveAction = InputSystem.actions.FindAction("Move)
moveAction.ReadValue<Vector2>()
>event based, call a function only when the action did something, useful for button type actions
InputSystem.actions.FindAction("Fire").performerd += FireGun
Page 1