Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetWorkaround(string, State)

Sets the state of a specific driver workaround for this profile.
Read time 1 minuteLast updated 15 days ago

Definition

public override void SetWorkaround(string workaroundName, State state)

Parameters

workaroundName


state

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
default
list, letting Unity decide based on automatic device detection.