xNode
xNode copied to clipboard
GUI.enabled in property drawer breaks graph node UI.
If I use GUI.enabled in a property drawer for one of the properties in a node, it ends up disabling huge swathes of unrelated properties as well.
For example, in the image below, the Id
field is supposed to be the only disabled field. But instead, unrelated fields -- and even an entire node -- are disabled.
Note that the disabling works correctly in the scriptable object inspector.