Navigation
API > API/Editor > API/Editor/ContentBrowser
An enum to choose the behavior of the save asset dialog when the user chooses an asset that already exists
| Name | ESaveAssetDialogExistingAssetPolicy::Type |
| Type | enum |
| Header File | /Engine/Source/Editor/ContentBrowser/Public/IContentBrowserSingleton.h |
| Include Path | #include "IContentBrowserSingleton.h" |
Syntax
namespace ESaveAssetDialogExistingAssetPolicy
{
enum Type
{
Disallow,
AllowButWarn,
}
}
Values
| Name | Remarks |
|---|---|
| Disallow | Display an error and disallow the save |
| AllowButWarn | Allow the save, but warn that the existing file will be overwritten |