Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

platform

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

boolReturns 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

platformGroup

The platform for which to clear the overrides.
See BuildTargetGroup for the complete list of options.

Returns

Type

Description

boolReturns true if any overrides were actually cleared.

Remarks

This reverts the given platform override sample override settings, making that platform use the defaultSampleSettings..