Reply To: Dialog trees and new input system.

NodeCanvas Forums General Discussion Dialog trees and new input system. Reply To: Dialog trees and new input system.

#17224
Gavalakis
Keymaster

Hello again!

Please do the following changes to make the dialogue GUI work with gamepad x button (as an example).

1) Open up DialogueUGUI.cs file.
2) Comment the lines #51-53 (shown below) and add the extra line (shown below as well):

3) Remove the ‘IPointerClickHandler’ interface from the class declaration in line #11 since it is now no longer needed and implemented.
4) Move the DialogueUGUI.cs at the root of the ‘ParadoxNotion’ folder. We need to do this as to remove it from the NodeCanvas assembly so that the UnityEngine.InputSystem namespace can be accessed and used.

Let me know if that works for you. Thanks.

Join us on Discord: https://discord.gg/97q2Rjh