The AddText method is used to either add an existing Text instance to the engine, or to both create and add a Text to the engine.

Code Example

The following code adds a Text object to the engine. Text text object will be automatically visible and updated by the engine.

Text textInstance = TextManager.AddText("Hello");

Last updated