| 201 | } |
| 202 | |
| 203 | void 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 | |
| 217 | void FFlowEditorModule::RegisterCustomClassLayout(const TSubclassOf<UObject> Class, const FOnGetDetailCustomizationInstance DetailLayout) |
| 218 | { |