Reply To: [Request] Better editor scripting support

NodeCanvas Forums General Discussion [Request] Better editor scripting support Reply To: [Request] Better editor scripting support

#17547
Gavalakis
Keymaster

Hello again and sorry for the late reply. Thank you for your suggestions.

1) Right now the “OnValidate” in Tasks is also called from the “OnEnable” callback in the Graph class (which is a ScriptableObject of course). In Graph.cs at line #59, there is also an “OnValidate” callback, but it is unused right now since it just fires at the same time the “OnEnable” is fired (or at least so I’ve seen). You can modify the code there to call “Validate()” in the “OnValidate” unity callback. Is this also where you meant you want Validate to be called?

2) That would be interesting. I have added this on the roadmap 🙂

Thank you.

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