SetWorkaround(string, State)
Sets the state of a specific driver workaround for this profile.
Read time 1 minuteLast updated 15 days ago
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.