static class Text

A collection of functions for rendering and working with text. These are a lower level access to text rendering than the UI text functions, and are completely unaware of the UI code.

Static Methods

   
Add Renders text at the given location! Must be called every frame you want this text to be visible.
MakeStyle Create a text style for use with other text functions! A text style is a font plus size/color/material parameters, and are used to keep text looking more consistent through the application by encouraging devs to re-use styles throughout the project. This overload will create a unique Material for this style based on Default.ShaderFont.
Size Sometimes you just need to know how much room some text takes up! This finds the size of the text in meters when using the indicated style!




Found an issue with these docs, or have some additional questions? Create an Issue on Github!