Version: 2023.1

TextureImporter.ClearPlatformTextureSettings

切换到手册
public void ClearPlatformTextureSettings (string platform);

参数

platform 要清除其设置的平台(请参阅下文)。

描述

Clears specific target platform settings.

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.