Reply To: Property Drawer – Serialization Talk

FlowCanvas Forums Support Property Drawer – Serialization Talk Reply To: Property Drawer – Serialization Talk

#3006
Gavalakis
Keymaster

Hello there,

Unfortunately, Unity’s Drawers do not work within FlowCanvas (either nodes or variables). That is because Unity drawers are very coupled with it’s own serialization system, whereas FlowCanvas is using a custom serializer. This is why FC also comes with its own custom drawers (both property and object drawers). These work similar to Unity drawers, but it is a different system. This will require re-implementing the drawer, but unfortunately making FC work out of the box with Unity native drawer was far from possible the last time I tried without a plethora of ugly hacks.

Please take a look here for how custom property and object drawers work -> https://nodecanvas.paradoxnotion.com/documentation/?section=creating-custom-object-drawers (it’s on the NodeCanvas documentation, but they are exactly the same since both NC and FC share the same framework).

Please let me know if the above help or work for you.

Thanks!

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