InsertNewLines
Last updated
Last updated
The InsertNewLines method modifies the Text's DisplayText property by inserting the newline character ('\n') to prevent the text from exceeding the argument maxWidth. The maxWidth property is in absolute world units.
Add the following using statements:
Add the following to Initialize after initializing FlatRedBall:
FlatRedBall.Graphics.BitmapFont - See the BitmapFont class for determining the unit-size of your text.