NodeCanvas Forums › General Discussion › NodeCanvas+uGUI button
Hi there,
Sorry, this probably is something super trivial but I can’t get NodeCanvas to switch states when a uGUI button is clicked.
I assigned the button to the button clicked condition, what else is required ?
The button does respond to OnClick handlers when I assign them in the inspector.
Thanks in advance, Patrick
Hello,
This is a bug on my part. For a tempory fix, please open up Task.cs script and comment or delete lines # 323-324 where it reads:
1 2 3 4 |
if (agentType == null) return true; |
Thanks for noticing and reporting.
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Yep, its working now.
Thanks for the help.