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

Method Delete

Source/Editor/Windows/ContentWindow.cs:808–814  ·  view source on GitHub ↗

Deletes the specified item. Asks user first and uses some GUI. The item to delete.

(ContentItem item)

Source from the content-addressed store, hash-verified

806 /// </summary>
807 /// <param name="item">The item to delete.</param>
808 public void Delete(ContentItem item)
809 {
810 var items = View.Selection;
811 if (items.Count == 0)
812 items = new List<ContentItem>() { item };
813 Delete(items);
814 }
815
816 /// <summary>
817 /// Deletes the specified items. Asks user first and uses some GUI.

Callers 5

ExecuteActionFunction · 0.45
OnCloneButtonClickedMethod · 0.45
OnCreateButtonClickedMethod · 0.45
GameWindowMethod · 0.45
DeleteSelectionMethod · 0.45

Calls 5

DeleteFunction · 0.85
FormatMethod · 0.80
SortMethod · 0.45
CompareMethod · 0.45
ShowMethod · 0.45

Tested by

no test coverage detected