文档

Unity Engine

Unity Engine

ClearPlatformTextureSettings(string)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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
.