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.