UE Wingman renaming complete.
This commit is contained in:
23
Plugins/UEWingman/Deprecated/BlueprintExportSubsystem.h
Normal file
23
Plugins/UEWingman/Deprecated/BlueprintExportSubsystem.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "EditorSubsystem.h"
|
||||
#include "UObject/ObjectSaveContext.h"
|
||||
#include "BlueprintExportSubsystem.generated.h"
|
||||
|
||||
/**
|
||||
* Editor subsystem that exports blueprint text files whenever an asset is saved.
|
||||
*/
|
||||
UCLASS()
|
||||
class UBlueprintExportSubsystem : public UEditorSubsystem
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
virtual void Initialize(FSubsystemCollectionBase& Collection) override;
|
||||
virtual void Deinitialize() override;
|
||||
|
||||
private:
|
||||
void OnAssetSaved(const FString& PackageFilename, UPackage* Package, FObjectPostSaveContext Context);
|
||||
FDelegateHandle OnAssetSavedHandle;
|
||||
};
|
||||
Reference in New Issue
Block a user