기술 자료

Unity Engine

Unity Engine

ClearSampleSettingOverride

Clears the sample settings override for the given platform.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

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