csharp
public enum TypeTraitsWhat an annotation says a type is for.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Flags rather than an enum, because one type is routinely several of these: a component that is also a data contract and also appears in the inspector is the ordinary case, not the exception.
Fields and properties (5)
NoneNothing.
DataContractCarries [DataContract]: it can be serialised.
ComponentCarries [Component]: the ECS can attach it to an entity.
EditorVisibleCarries [EditorVisible]: the inspector shows it.
AbstractAn abstract type or an interface — a base to look up, never a thing to construct.
Used by (8)
- MaterialHelloUi
- TypeRegistrationThirdPersonShooter
- NestedMemberTestsVixen.Ui.Controls.Advanced.Tests
- PropertyGridTestsVixen.Ui.Controls.Advanced.Tests
- TypeDescriptorVixen.Core.Reflection
- TypeRegistryVixen.Core.Reflection
- TypeRegistryTestsVixen.Core.Reflection.Tests
- ReflectedTypesVixen.Editor.Scripts