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

Method GetAssetReferences

Source/Editor/Managed/ManagedEditor.Internal.cpp:597–606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597Array<Guid> ManagedEditor::GetAssetReferences(const Guid& assetId)
598{
599 Array<Guid> result;
600 if (auto* asset = Content::Load<Asset>(assetId))
601 {
602 Array<String> files;
603 asset->GetReferences(result, files);
604 }
605 return result;
606}

Callers 2

OnRequestingExitMethod · 0.45
SearchRefsMethod · 0.45

Calls 1

GetReferencesMethod · 0.45

Tested by

no test coverage detected