Synced
AssetBrowserState.GetSelectedPath
Section titled “AssetBrowserState.GetSelectedPath”
- Gets the selected asset path when the editor-wide target belongs to the Asset Browser.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Editor.Assets.ImGui
Declaration
Section titled “Declaration”public string? Inno.Editor.Assets.ImGui.AssetBrowserState.GetSelectedPath(Inno.Editor.Core.EditorContext context)Parameters
Section titled “Parameters”Parameter context: The shared editor context containing the global selection.
Returns
Section titled “Returns”The normalized source-relative path, or null when another target type is selected.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when context is null.