Input Device Manager to cancel cutscene
Posted: Wed Dec 27, 2023 3:55 pm
Hi!
I'm trying to stop a conversation and jump to another one when the player keeps a button pressed for some time. I use the Unity New Input System with the Input Device Manager. When I try to count the time when the button is pressed I use this:
if (InputDeviceManager.IsButtonDown("Back"))
On an update function. But it seems that it only counts "1 time" when the button is pressed and not continuously. Is there some way yo check constantly if the button is pressed with the InpuDeviceManager?
Thanks!
I'm trying to stop a conversation and jump to another one when the player keeps a button pressed for some time. I use the Unity New Input System with the Input Device Manager. When I try to count the time when the button is pressed I use this:
if (InputDeviceManager.IsButtonDown("Back"))
On an update function. But it seems that it only counts "1 time" when the button is pressed and not continuously. Is there some way yo check constantly if the button is pressed with the InpuDeviceManager?
Thanks!