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

API: engine
Project: Inno.Editor.Assets.ImGui

public string? Inno.Editor.Assets.ImGui.AssetBrowserState.GetSelectedPath(Inno.Editor.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.