ドキュメント

Unity Engine

Unity Engine

PopulateWithErrors(string, TextGenerationSettings, GameObject)

Will generate the vertices and other data for the given string with the given settings.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.TextRenderingModule
public bool PopulateWithErrors(string str, TextGenerationSettings settings, GameObject context)

Parameters

String to generate.

Generation settings.

context

The object used as context of the error log message, if necessary.

Returns

Type

Description

boolTrue if the generation is a success, false otherwise.

Remarks

Will only regenerate if the string AND settings are different from the last execution.