文档

Unity Engine

Unity Engine

SetWorkaround(string, State)

Sets the state of a specific driver workaround for this profile.
阅读时间1 分钟最后更新于 1 个月前

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.