MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / CreateImportPathUI

Method CreateImportPathUI

Source/Editor/Utilities/Utils.cs:411–415  ·  view source on GitHub ↗

Creates an Import path ui that show the asset import path and adds a button to show the folder in the file system. The parent layout element. The asset item to get the import path of.

(CustomEditors.LayoutElementsContainer parentLayout, Content.BinaryAssetItem assetItem)

Source from the content-addressed store, hash-verified

409 /// <param name="parentLayout">The parent layout element.</param>
410 /// <param name="assetItem">The asset item to get the import path of.</param>
411 public static void CreateImportPathUI(CustomEditors.LayoutElementsContainer parentLayout, Content.BinaryAssetItem assetItem)
412 {
413 assetItem.GetImportPath(out var path);
414 CreateImportPathUI(parentLayout, path);
415 }
416
417 /// <summary>
418 /// Creates an Import path ui that show the import path and adds a button to show the folder in the file system.

Callers 7

InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80
InitializeMethod · 0.80

Calls 5

GetDirectoryNameMethod · 0.80
GetImportPathMethod · 0.45
TextBoxMethod · 0.45
ButtonMethod · 0.45
ShowFileExplorerMethod · 0.45

Tested by

no test coverage detected