文档

Unity Engine

Unity Engine

SetTemplateCustomValue(string, string)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetTemplateCustomValue(string name, string value)

Parameters

name

Name of the variable.

value

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.