Files
logan buchy 1bcb23ec26 Expose setting to enable/disable collection auto-commit behaviour
* Changed name CollectionConfig -> CollectionSettings. Settings is the canonical name of these types of objects.
* Derive from UDeveloperSettings to make it auto-discoverable by the SettingsManager

#jira UE-187506
#rb brooke.hubert

[CL 25810466 by logan buchy in ue5-main branch]
2023-06-05 23:47:24 -04:00

22 lines
648 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Engine/DeveloperSettings.h"
#include "CollectionSettings.generated.h"
UCLASS(minimalapi, config=EditorSettings)
class UCollectionSettings : public UDeveloperSettings
{
GENERATED_BODY()
public:
#if WITH_EDITOR
FText GetSectionText() const override;
FText GetSectionDescription() const override;
#endif
/** When enabled, Shared and Private collections will automatically commit their changes to source control */
UPROPERTY(config, EditAnywhere, Category=Collections, meta = (DisplayName="Auto-Commit to SourceControl on Save"))
bool bAutoCommitOnSave = true;
};