This version of Unity is unsupported.

AudioImporter.ClearSampleSettingOverride

public bool ClearSampleSettingOverride(string platform);

Parameters

platformThe platform to clear the overrides for.

Returns

bool Returns true if any overrides were actually cleared.

Description

Clears the sample settings override for the given platform.

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

The options for the platform string are "WebPlayer", "Standalone", "iOS", "Android", "WebGL", "PS4", "XBoxOne".