Skip to content

AssetFileAttribute

namespace Griff.Scenes;
public sealed class AssetFileAttribute : Attribute

Marks a string property as a file in Assets that its name doesn’t say it is (a deck’s Back is a picture, note lanes’ Song is music): the Inspector gives it the picker, preview and maker that image and sound fields get.

public AssetFileKind Kind { get; }