ui/richtext/RichTextDmgCantKill.cs

A small UI rich text component that defines a panel with the literal text "(this dmg can't kill you)". It sets the text to italic, specifies a font size of 10, and sets the color to white with 60% alpha.

[RichTextPanel( @"\(this dmg can't kill you\)" )]
public class RichTextDmgCantKill : RichTextBase
{
	public override bool Italic => true;

	public override float? FontSize => 10f;
	public override Color Color => new Color( 1f ).WithAlpha(0.6f);
}