ui/richtext/RichTextAlternator2.cs

A RichText panel definition for the UI that provides style overrides for a text alternator labeled "alternator-backwards". It sets the displayed text to "backwards", chooses an animation "wave-down" with duration 1.5s and direction "alternate", and sets the color to white.

[RichTextPanel( @"\balternator-backwards\b" )]
public class RichTextAlternator2 : RichTextBase
{
	public override string TextOverride => "backwards";

	public override string AnimationName => "wave-down";
	public override float? AnimationDuration => 1.5f;
	public override string AnimationDirection => "alternate";

	public override Color Color => Color.White;
}