Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Gets the selected asset path when the editor-wide target belongs to the Asset Browser.

API: scripting
Project: Inno.Editor.Assets.ImGui
Scope: Editor

public string? InnoEditor.Assets.AssetBrowserState.GetSelectedPath(InnoEditor.Core.EditorContext context)

Parameter context: The shared editor context containing the global selection.

The normalized source-relative path, or null when another target type is selected.

Exception T:System.ArgumentNullException: Thrown when context is null.