Version: 2021.3

PlayerSettings.SetTemplateCustomValue

切换到手册
public static void SetTemplateCustomValue (string name, string value);

参数

name Name of the variable.
value Value of the custom template variable.

描述

Sets a value of a custom template variable.

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.

See Also: GetTemplateCustomValue.