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 of the variable.
Returns
Type | Description |
|---|---|
| string | The 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.
Additional Resources: PlayerSettings.SetTemplateCustomValue.