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

Method Select

Source/Editor/Windows/ContentWindow.cs:1135–1143  ·  view source on GitHub ↗

Selects the specified asset in the content view. The asset to select.

(Asset asset)

Source from the content-addressed store, hash-verified

1133 /// </summary>
1134 /// <param name="asset">The asset to select.</param>
1135 public void Select(Asset asset)
1136 {
1137 if (asset == null)
1138 throw new ArgumentNullException();
1139
1140 var item = Editor.ContentDatabase.Find(asset.ID);
1141 if (item != null)
1142 Select(item);
1143 }
1144
1145 /// <summary>
1146 /// Selects the specified item in the content view.

Callers 15

SelectTargetFunction · 0.45
CreateBuildTabFunction · 0.45
NavigateMethod · 0.45
NavigateBackwardMethod · 0.45
NavigateForwardMethod · 0.45
ShowRootMethod · 0.45
ApplyTreeViewModeMethod · 0.45
OpenMethod · 0.45
OnInitMethod · 0.45
OnScriptsReloadEndMethod · 0.45
RefreshMethod · 0.45

Calls 4

FindMethod · 0.45
ExpandAllParentsMethod · 0.45
ScrollViewToMethod · 0.45
FocusMethod · 0.45

Tested by

no test coverage detected