Synced
AssetBrowserState.SetLocation
Section titled “AssetBrowserState.SetLocation”
- Changes the displayed source root and its isolated navigation directory.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.Assets.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.Assets.AssetBrowserState.SetLocation(InnoEditor.Assets.AssetBrowserRoot targetRoot, string directory)Parameters
Section titled “Parameters”Parameter targetRoot: The navigation root that owns the requested directory.
Parameter directory: The isolated source-relative directory; empty selects the root.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentException: The directory belongs to a different source root.