ドキュメント

Unity Engine

Unity Engine

ClearSampleSettingOverride

Clears the sample settings override for the given platform.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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..