Reply To: SerializeReference doesn’t work in custom task

NodeCanvas Forums Support SerializeReference doesn’t work in custom task Reply To: SerializeReference doesn’t work in custom task

#16629
Gavalakis
Keymaster

Hello again,

I just created a Property Drawer which when used on a field, it will popup a selection of the field type implementations and create an instance of that selection. If you want to try it now please do the following:

1) Open up DrawerAttributes.cs and add this code somewhere within the namespace:

2) Open up AttributeDrawers.cs and add this code somewhere within the namespace as well:

You can then use the [ReferenceField] attribute on your custom task interface type fields.
Please let me know how this works for you.

Thank you.

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