7 private readonly
float lineLength;
9 private readonly
float textScale;
13 this.nestedStr = text;
14 this.lineLength = lineLength;
16 this.textScale = textScale;
19 public override bool Loaded => nestedStr.Loaded;
23 font.GetFontForStr(nestedStr.Value) is
ScalableFont scalableFont
24 ? ToolBox.
WrapText(nestedStr.Value, lineLength, scalableFont, textScale)
string WrapText(string text, float width)
WrappedLString(LocalizedString text, float lineLength, GUIFont font, float textScale=1.0f)
override void RetrieveValue()