Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ClearTargetSettings(string)

Clears the platform-specific import settings for the specified platform and reverts them to the default settings.
Read time 1 minuteLast updated 7 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public void ClearTargetSettings(string platform)

Parameters

platform

Platform name.

Remarks

Refer to NamedBuildTarget for the complete list of options, and type the desired platform name in the form of a string. This method throws an
ArgumentException
if the string doesn't match a supported platform. Platforms without an override use VideoClipImporter.defaultTargetSettings.