Namespace: | Sirenix.OdinInspector |
Assembly: | Sirenix.OdinInspector.Attributes |
[Conditional("UNITY_EDITOR")]
public class AssetSelectorAttribute : Attribute, _Attribute
public AssetSelectorAttribute()
public bool DisableListAddButtonBehaviour
public bool DrawDropdownForListElements
public int DropdownHeight
public string DropdownTitle
public int DropdownWidth
public bool ExcludeExistingValuesInList
public bool ExpandAllMenuItems
public string Filter
public bool FlattenTreeView
public bool IsUniqueList
public string[] SearchInFolders
Specify which folders to search in. Specifying no folders will make it search in your entire project. You can decalir multiple paths using '|' as the seperator. Example:
[AssetList(Paths = "Assets/Textures|Assets/Other/Textures")]
This property is simply a more clean way of populating the SearchInFolders array.
public string Paths { get; set; }