PopulateWithErrors(string, TextGenerationSettings, GameObject)
Will generate the vertices and other data for the given string with the given settings.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.TextRenderingModule
public bool PopulateWithErrors(string str, TextGenerationSettings settings, GameObject context)
Parameters
String to generate.
Generation settings.
The object used as context of the error log message, if necessary.
Returns
Type | Description |
|---|---|
| bool | True if the generation is a success, false otherwise. |
Remarks
Will only regenerate if the string AND settings are different from the last execution.