public DrawableString(string text, UIManagerSpriteRenderer.TextType type, RectangleF Offset, TextAlignment alignment, Color color, int fontSize = 0) { this.Text = text; this.Type = type; this.Color = color; this.Offset = Offset; this.Alignment = alignment; this.Fontsize = fontSize; }
/// <summary> /// Text UI. /// </summary> public UI(string text, UIManagerSpriteRenderer.TextType type, RectangleF offset, SpriteTextRenderer.TextAlignment alignment, Color color) { UIText = UIManagerSpriteRenderer.DrawTextContinuous(text, type, offset, alignment, color); }