I’ve written a small editor plugin that lets you directly edit EditCondition
& EditConditionHides
property metadata entries right from the editor. At first glance this seems to working - manually checking the properties metadata array, I can see the values updating and saving as expected.
However, the editor doesn’t seem to be evaluating the edit condition when values change. For example, using my custom editor to set the following condition:
Gives me the following results when changing values in the editor (in this case an editor for a custom data asset):
Notice the second example, the “Duration” field should now be enabled an editable, but it stays disabled. Am I missing something here? From what I understand adding an EditCondition
to the properties metadata (i.e. meta=(EditCondition="Type == E_BuffType::Duration")
) should be enough get the editor to update the way I’m expecting.