csharp
public sealed class EditorVisibleAttributeControls whether a member appears in the inspector, independently of whether it is serialised. Use it to surface a non-public member, or to hide a public one that is meaningful to code and noise to a designer.
No guide page documents this yet — the page shows what the code says about itself.
As a annotation
- Valid on
- Class, Struct, Property, Field
Fields and properties (3)
public bool VisibleWhether the annotated element is shown.
public bool ReadOnlyWhether the inspector shows the value but refuses edits.
public string? DisplayNameLabel shown in place of the member's name.
Methods (2)
public EditorVisibleAttribute()Shows the annotated element in the inspector.
public EditorVisibleAttribute(bool visible)Shows or hides the annotated element in the inspector.
Used by (6)
- AnnotatedVixen.Core.Tests
- AnnotationTestsVixen.Core.Tests
- BehaviorVixen.Engine
- HealthVixen.Core.Reflection.Tests
- Transform2DVixen.Core.Reflection.Tests
- ReflectedTypesVixen.Editor.Scripts