Daily Unreal Column #83 - InlineEditConditionToggle
Another very useful, not very well known, meta tag property!
So, we already covered meta tags for specifying EditCondition
. This time we will expand our toolbox with InlineEditConditionToggle
.
This specific tag allows us to force a flag to be inlined into the same row as another property that uses it for its EditCondition
.
Here is how to define it:
UPROPERTY(EditAnywhere, meta=(InlineEditConditionToggle))
bool bExampleFlag = false;
UPROPERTY(EditAnywhere, meta=(EditCondition="bExampleFlag"))
float ExampleValue = 0.0f;
With the above defined, this is what we will see in the editor:
cool!!!