ClearSampleSettingOverride
Clears the sample settings override for the given platform.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
ClearSampleSettingOverride(string)
Clears the sample settings override for the given platform.
public bool ClearSampleSettingOverride(string platform)
Parameters
The platform for which to clear the overrides.
See BuildTargetGroup for the complete list of options and type the desired platform enum name in the form of a string.
Returns
Type | Description |
|---|---|
| bool | Returns true if any overrides were actually cleared. |
Remarks
This reverts the given platform override sample override settings, making that platform use the defaultSampleSettings..
ClearSampleSettingOverride(BuildTargetGroup)
Clears the sample settings override for the given platform.
public bool ClearSampleSettingOverride(BuildTargetGroup platformGroup)
Parameters
The platform for which to clear the overrides.
See BuildTargetGroup for the complete list of options.
Returns
Type | Description |
|---|---|
| bool | Returns true if any overrides were actually cleared. |
Remarks
This reverts the given platform override sample override settings, making that platform use the defaultSampleSettings..