Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetPropertyString

Sets a PlayerSettings named string property.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

SetPropertyString(string, string, BuildTargetGroup)

Sets a PlayerSettings named string property.
Warning
Deprecated. Use explicit API instead.
public static void SetPropertyString(string name, string value, BuildTargetGroup target)

Parameters

name

Name of the property.

value

Value of the property (string).

BuildTarget for which the property should apply (use default value BuildTargetGroup.Unknown to apply to all targets).

Remarks

Additional Resources: PlayerSettings.GetPropertyString.

SetPropertyString(string, string)

Sets a PlayerSettings named string property.
Warning
Deprecated. Use explicit API instead.
public static void SetPropertyString(string name, string value)

Parameters

name

Name of the property.

value

Value of the property (string).

Remarks

Additional Resources: PlayerSettings.GetPropertyString.

SetPropertyString(string, string, BuildTarget)

Sets a PlayerSettings named string property.
Warning
Deprecated. Use explicit API instead.
public static void SetPropertyString(string name, string value, BuildTarget target)

Parameters

name

Name of the property.

value

Value of the property (string).

BuildTarget for which the property should apply (use default value BuildTargetGroup.Unknown to apply to all targets).

Remarks

Additional Resources: PlayerSettings.GetPropertyString.