Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ProfileWorkarounds

Stores the workaround configuration for a ProfileDeviceFilter.
Read time 1 minuteLast updated 12 days ago

Definition

public class ProfileWorkarounds : DefaultWorkarounds

Remarks

Extends DefaultWorkarounds with a
default
list. Workarounds in the
default
list let Unity decide whether to apply them based on device properties. This three-state model (enabled, disabled, default) allows device-specific profiles to override or defer to Unity's automatic workaround detection.
Use ProfileDeviceFilter.SetWorkaround to modify individual workarounds, or ProfileDeviceFilter.DisableAllWorkarounds to disable all workarounds at once.
For more information, refer to Workaround hardware profile settings.

Fields

Value

Description

defaultList of workaround names that use Unity's default behavior.

Constructors

Constructor

Description

ProfileWorkarounds()Creates a
ProfileWorkarounds
instance that contains empty enabled, disabled, and default lists.

Methods

Method

Description

ClearAllResets all workarounds to the default state.
DisableAllMoves all defined workarounds to the disabled list.
SetWorkaroundSets the state of a specific driver workaround for this profile.

Inheritance