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

Method Copy

Source/Editor/Content/GUI/ContentView.cs:480–488  ·  view source on GitHub ↗

Copies the selected items (to the system clipboard).

()

Source from the content-addressed store, hash-verified

478 /// Copies the selected items (to the system clipboard).
479 /// </summary>
480 public void Copy()
481 {
482 if (_selection.Count == 0)
483 return;
484
485 var files = _selection.ConvertAll(x => x.Path).ToArray();
486 Clipboard.Files = files;
487 UpdateContentItemCut(false);
488 }
489
490 /// <summary>
491 /// Returns true if user can paste data to the view (copied any files before).

Callers 8

StructureToByteArrayMethod · 0.45
ProcessDefaultAssetMethod · 0.45
RunMethod · 0.45
createMethod · 0.45
GetAttributesMethod · 0.45
GetFieldsMethod · 0.45
GetMethodsMethod · 0.45
ImportMethod · 0.45

Calls 1

ToArrayMethod · 0.45

Tested by

no test coverage detected