Say I have a class
class Object
{
Vector2 positon;
}
This position is editable in the propert grid, how would I be able to set this as not browasable / read only in a class that inherits from object. I know the [Browsable(false)]
and [ReadOnly(true)]
tags but this will set the it for all Objects, which I do not desire.