UI/Controls/ResourceSelectAttribute.cs

An attribute type used by UI controls to indicate a resource selector. It stores an optional file extension filter, whether package resources are allowed, and whether selection should use a popup.

namespace Sandbox.UI;

public sealed class ResourceSelectAttribute : System.Attribute
{
	public string Extension { get; set; }
	public bool AllowPackages { get; set; }
	public bool Popup { get; set; }
}