New Input System - RegisterInputAction() Doesn't Exist

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
cassius
Posts: 14
Joined: Thu Oct 26, 2023 10:30 pm

New Input System - RegisterInputAction() Doesn't Exist

Post by cassius »

Does anyone know what I'm doing wrong here? I checked the InputDeviceManager script and RegisterInputAction() and UnregisterInputAction() functions don't exist in there.
4.png
4.png (57.28 KiB) Viewed 424 times
Is this something I'm manually supposed to code into the InputDeviceManager script?
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: New Input System - RegisterInputAction() Doesn't Exist

Post by Tony Li »

Hi,

Please enable the Dialogue System's support for the Input System package first by ticking the Welcome Window's USE_NEW_INPUT checkbox.
cassius
Posts: 14
Joined: Thu Oct 26, 2023 10:30 pm

Re: New Input System - RegisterInputAction() Doesn't Exist

Post by cassius »

I'm not able to because it is greyed-out.
5.png
5.png (63.81 KiB) Viewed 419 times
I thought perhaps just adding the "USE_NEW_INPUT" Scripting Define Symbol was enough to enable it.
cassius
Posts: 14
Joined: Thu Oct 26, 2023 10:30 pm

Re: New Input System - RegisterInputAction() Doesn't Exist

Post by cassius »

I see. It's not available in eval. Okay, no problem. I'll pick up the full version now because this asset is looking good and the support has been great. :)

Thanks
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: New Input System - RegisterInputAction() Doesn't Exist

Post by Tony Li »

Thanks! If any questions come up once you enable USE_NEW_INPUT in the Asset Store version, just let me know.
Post Reply