Feature Flags in Components

Hey @magicteddy,

I searched the forums to find this _OBSOLETE class appendage to see what it does and fount this snippet;

Long Quote

So I tried overriding Exposure like this, which works perfectly!

public override GH_Exposure Exposure
{
	get
	{
		if (FeatureFlagIsEnabled)
		{
			return base.Exposure;
		}
		else
		{
			return GH_Exposure.hidden;
		}
	}
}
1 Like