Skip to content

ClipsAttribute

namespace Griff.Scenes;
public sealed class ClipsAttribute : FieldEditorAttribute

Marks a string property as an Animation’s clips (“Idle 0-3, Run 4-9 @12, Die 11-15 once”, see ParseClips): the Inspector lists them a row each, with their frames, speed and whether they play once, and opens the Clip Editor to see them play.

public override string Describe()
public override string? Problem(Component component, object? value)