Inheritence

Summary

A list of assets with filtering options.

Constructors

AssetBrowser

Fields

OnAssetHighlight Asset has been clicked
OnAssetSelected Asset has been selected (double click, or enter)
OnAssetsHighlight Asset has been clicked
OnFileSelected Asset has been selected (double click, or enter)
OnFolderOpened
OnHighlight Item has been selected
OnPackageSelected Package has been selected (double click, or enter)
Path
Search

Properties

CurrentLocation Directory, contents of which are currently being displayed.
FilterAssetTypes Only show these asset types.
HideNonAssets
MultiSelect
SelectedCount
ShowJunkFiles Show files generated by asset compilation and other usually unuseful files.
ShowRecursiveFiles If true, show all files in a flat view, if false, show files and folders like they would appear in Windows Explorer.
ViewModeType View mode, i.e. thumbs, list or whatever else.

Methods

AddPin
FocusOnAsset Focus on this asset, make it selected
GetSelected
Highlight
LoadSettings Load settings saved by Editor.AssetBrowser.SaveSettings.
NavigateTo
OnAssetCreated
OnDestroyed
OpenParentFolder Go up once in the folder structure.
SaveSettings Save asset browser user settings, such as view mode, Editor.AssetBrowser.ShowJunkFiles and Editor.AssetBrowser.ShowRecursiveFiles. The save slot is separate for each asset browser filter combination set in the constructor.
UpdateAssetList Update the list of displayed assets.

Static Methods

Get Gets the closest open Editor.AssetBrowser to the current focused widget
GetOrCreate Gets the closest open Editor.AssetBrowser to the current focused widget, or creates a new one
OpenTo Opens an AssetBrowser to the <paramref name="asset" />, raising the window into view. If no AssetBrowser is open already, a new one will be opened.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.