SetPropertyInt
Sets a PlayerSettings named int property.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
SetPropertyInt(string, int, BuildTargetGroup)
Sets a PlayerSettings named int property.
public static void SetPropertyInt(string name, int value, BuildTargetGroup target)
Parameters
Name of the property.
Value of the property (int).
BuildTarget for which the property should apply (use default value BuildTargetGroup.Unknown to apply to all targets).
Remarks
Additional Resources: PlayerSettings.GetPropertyInt.
SetPropertyInt(string, int)
Sets a PlayerSettings named int property.
public static void SetPropertyInt(string name, int value)
Parameters
Remarks
Additional Resources: PlayerSettings.GetPropertyInt.
SetPropertyInt(string, int, BuildTarget)
Sets a PlayerSettings named int property.
public static void SetPropertyInt(string name, int value, BuildTarget target)
Parameters
Name of the property.
Value of the property (int).
BuildTarget for which the property should apply (use default value BuildTargetGroup.Unknown to apply to all targets).
Remarks
Additional Resources: PlayerSettings.GetPropertyInt.