MCPcopy Create free account
hub / github.com/MothCocoon/FlowGraph / UnregisterAssets

Method UnregisterAssets

Source/FlowEditor/Private/FlowEditorModule.cpp:203–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void FFlowEditorModule::UnregisterAssets()
204{
205 if (FModuleManager::Get().IsModuleLoaded("AssetTools"))
206 {
207 IAssetTools& AssetTools = FModuleManager::GetModuleChecked<FAssetToolsModule>("AssetTools").Get();
208 for (const TSharedRef<IAssetTypeActions>& TypeAction : RegisteredAssetActions)
209 {
210 AssetTools.UnregisterAssetTypeActions(TypeAction);
211 }
212 }
213
214 RegisteredAssetActions.Empty();
215}
216
217void FFlowEditorModule::RegisterCustomClassLayout(const TSubclassOf<UObject> Class, const FOnGetDetailCustomizationInstance DetailLayout)
218{

Callers

nothing calls this directly

Calls 2

GetMethod · 0.80
GetFunction · 0.50

Tested by

no test coverage detected