Hey,
That’s great to hear! I am very glad you are working with NodeCanvas still! Thanks 🙂
Yes, I have looked into this in the past, but there is indeed a key problem that makes it impossible to support Unity’s native Object/Property Drawers as is, in NodeCanvas. The problem is that these work with SerializedProperty and SerializedProperty is only possible to get out of fields that are directly serialized in a UnityEngine.Object. Alas, NodeCanvas uses JSON for serialization and the classes serialized in a Task for example, are not really directly serialized within a UnityEngine.Object. As such creating a SerializedProperty for these, is unfortunately not really possible. I’ve also tried hacking my way around this, but nothing really could be done as far as I know.
Due to that reason, I had to create a custom solution for Object/Property Drawers specifically for NodeCanvas: [DOCUMENTATION LINK]
Of course this solution is NodeCanvas specific, but once again, using Unity’s native Object/Property Drawer solution within NodeCanvas (and pretty much any asset using custom serialization) is unfortunately not possible in any way I know of due to the above reasons.
I hope that makes sense.
By the way, if you are using NodeCanvas in one of your games and you’d like to share it in the Showcase section of the website, let me know 😉
Thanks again!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.