ui/richtext/RichTextSteered.cs

A RichText panel class for the UI, declared with a RichTextPanel attribute for the token "steered". It configures animation and color for this rich text variant, setting animation name, duration, timing function, direction, and text 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 );
}