文档

Unity Engine


User Manual

Script Reference

Unity Engine


ClearPlatformTextureSettings(string)

Clears specific target platform settings.
阅读时间1 分钟最后更新于 23 天前

Definition

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

Parameters

platform

The platform whose settings are to be cleared (see below).

Remarks

Refer to NamedBuildTarget for a list of valid platforms. To get the name of a platform as a string, use the
TargetName
property. For example,
UnityEditor.Build.NamedBuildTarget.Standalone.TargetName
.