ui/richtext/RichTextSteered.cs

A UI RichText panel definition for the 'steered' tag. It configures a RichText element with an animation named 'steer', 2s duration, ease-in-out timing, alternate direction, and white color.

[RichTextPanel( @"\bsteered\b" )]
public class RichTextSteered : RichTextBase
{
	//public override string ImagePath => "textures/ui/bullet-icon.png";
	//public override bool PrependIcon => true;
	//public override string TextOverride => "move randomly";


	public override string AnimationName => "steer";
	public override float? AnimationDuration => 2f;
	public override string AnimationTimingFunction => "ease-in-out";
	public override string AnimationDirection => "alternate";

	public override Color Color => new Color( 1f, 1f, 1f );
}