Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetPropertyString

Returns a PlayerSettings named string property (with an optional build target it should apply to).
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

GetPropertyString(string, BuildTargetGroup)

Returns a PlayerSettings named string property (with an optional build target it should apply to).
Warning
Deprecated. Use explicit API instead.
public static string GetPropertyString(string name, BuildTargetGroup target)

Parameters

name

Name of the property.

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

Returns

Type

Description

stringThe current value of the property.

Remarks

Additional Resources: PlayerSettings.SetPropertyString.

GetPropertyString(string)

Returns a PlayerSettings named string property (with an optional build target it should apply to).
Warning
Deprecated. Use explicit API instead.
public static string GetPropertyString(string name)

Parameters

name

Name of the property.

Returns

Type

Description

stringThe current value of the property.

Remarks

Additional Resources: PlayerSettings.SetPropertyString.