SetWorkaround(string, State)
Sets the state of a specific driver workaround for this profile.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor.HardwareProfiles
- Assembly: UnityEditor.CoreModule
public override void SetWorkaround(string workaroundName, State state)
Parameters
Remarks
Use the workaround names from DefaultWorkarounds.DefinedWorkarounds and a State value to control how Unity applies the workaround on matching devices. Unlike DefaultDeviceFilter.SetWorkaround, the Default option moves the workaround to the list, letting Unity decide based on automatic device detection.
defaultAdditional Resources: Random.State, DefaultWorkarounds.DefinedWorkarounds, Workaround hardware profile settings.