Reply To: Custom Drawer Accessing Source Class

FlowCanvas Forums Support Custom Drawer Accessing Source Class Reply To: Custom Drawer Accessing Source Class

#3485
Gavalakis
Keymaster

Hello there,

Within an AttributeDrawer, you can access the source object with the ‘.context’ property. You can then use reflection to call a function by name or in this case get a field (AbilityList) by name. Here is an example of such a drawer:

Let me know if that works for you.

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