Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetTemplateCustomValue(string, string)

Sets a value of a custom template variable.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.