文档

Unity Engine

Unity Engine

GetTemplateCustomValue(string)

Returns a value of a custom template variable.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static string GetTemplateCustomValue(string name)

Parameters

name

Name of the variable.

Returns

Type

Description

stringThe current value of the custom template variable.

Remarks

During the build process, custom variables in user templates are set to the values supplied by the Editor. User templates are available on the WebGL platform.