csharp
public sealed class AssetPickerAttributeEdits the member by choosing an asset of a given type.
No guide page documents this yet — the page shows what the code says about itself.
As a annotation
- Valid on
- Property, Field
Remarks
The type is what the picker filters by and what a drag from the project browser is validated against. It is carried as a Type rather than a GUID or a name so that renaming the asset type is a compile error rather than a picker that silently offers everything.
Fields and properties (2)
public Type AssetTypeWhat kind of asset may be chosen.
public bool AllowNullWhether the member may be left empty.
Methods (1)
public AssetPickerAttribute(Type assetType)Edits the member by choosing an asset of a given type.
Used by (7)
- Describes_Vixen_Editor_App_Tests_PickerFixtureVixen.Editor.App.Tests
- Describes_Vixen_Editor_Inspector_Tests_VolumeVixen.Editor.Inspector.Tests
- Describes_Vixen_Editor_Inspector_Tests_WaterMaterialVixen.Editor.Inspector.Tests
- DrawerRegistryVixen.Editor.Inspector
- PickerFixtureVixen.Editor.App.Tests
- VolumeVixen.Editor.Inspector.Tests
- WaterMaterialVixen.Editor.Inspector.Tests