기술 자료

Unity Engine

Unity Engine

PopulateWithErrors(string, TextGenerationSettings, GameObject)

Will generate the vertices and other data for the given string with the given settings.
읽는 시간 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.