Editor/AssetBrowserAddon/locations/CustomLocationDefinition.cs
using System;
using System.Collections.Generic;
namespace Sandbox.AssetBrowserAddon;
/// <summary>
/// Serializable definition for user-authored Asset Browser locations.
/// </summary>
public class CustomLocationDefinition
{
public string Id { get; set; } = Guid.NewGuid().ToString("N");
public string Name { get; set; } = "Custom Location";
public string Icon { get; set; } = "extension";
public List<string> AssetTypes { get; set; } = new();
public List<string> IncludeFolders { get; set; } = new();
public List<string> ExcludeFolders { get; set; } = new();
public bool ProjectAssetsOnly { get; set; } = false;
}