New Input System

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Radmar
Posts: 2
Joined: Thu Apr 16, 2020 3:20 am

New Input System

Post by Radmar »

Hi,

I've recently bought dialogue system asset and I would like to know how to integrate it with new input system, so demo scene could properly work.

I couldn't find any mention of it in documentation, so I have tried to do it by myself:
1. Create new project
2. Import new input system package
3. Import Dialogue System
4. Enable USE_NEW_INPUT by Welcome WIndow
5. Upgrade EventSystem by "Replace with..." button
Those 5 steps gives working mouse and escape key.
Playing mode throws a lot of "KeyNotFoundException: Cannot find control 'joystickbutton0' as child of 'Keyboard:/Keyboard'" and I have no idea how to properly fix it.
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: New Input System

Post by Tony Li »

Hi,

This post has an example scene.

Please inspect the Dialogue Manager's Input Device Manager component and remove these:

newInputDeviceManager.png
newInputDeviceManager.png (63.86 KiB) Viewed 346 times

Alternatively, define those inputs using all lowercase and no spaces, such as joystickbutton0, and register them with the Input Device Manager using InputDeviceManager.RegisterInputAction("joystickbutton0", yourControlForButton0).
Radmar
Posts: 2
Joined: Thu Apr 16, 2020 3:20 am

Re: New Input System

Post by Radmar »

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

Re: New Input System

Post by Tony Li »

Glad to help! If you have any questions about setting that up, just let me know.
Post Reply