文档

Unity Engine

Unity Engine

Populate(string, TextGenerationSettings)

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 Populate(string str, TextGenerationSettings settings)

Parameters

String to generate.

Settings.

Returns

Type

Description

bool

Remarks

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