Open rhys-vdw opened 2 years ago
Okay, I think I've worked it out. If I explicitly override GetValueType()
in my exposed parameter subclass then the error goes away. Given this I would suggest that the base method should be abstract
instead of virtual
(or just fix the bug whatever is causing it).
I was wrong, the issue is back. I am really unsure what's causing it.
Okay, seems this was caused by a failure to call base.OnEnable()
I'm trying to create a system where I can ensure that certain graph types always expose the correct properties.
My base node with helper:
Example graph:
New graph created with correct exposed parameters:
Adding some nodes:
Close and reopen graph editor:
Possibly related to #155