Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetTemplateCustomValue(string)

Returns a value of a custom template variable.
Read time 1 minuteLast updated 10 days ago

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.