FilePathAttributeclass

When added to a string property, will become a file picker for the given extension (or all by default)

objectAttributeFilePathAttribute
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public class Sandbox.FilePathAttribute : System.Attribute

Constructors1

Showing 1 constructors

Properties1

Showing 1 properties

public string Sandbox.FilePathAttribute.Extension { get; set; }PUBLICGETSET

The extension to filter by. If empty, all files are shown. Can be a comma separated list of extensions, or a single extension.

Returns:string

On this page