Skip to main content

ImportSettings.PlatformSettings

A class in Root.Township, the global namespace.

Asset import settings for one group of platforms, picked by ImportSettings.Find from the last matching filter.

Constructors​

MemberWhat it is
PlatformSettings()Creates an ImportSettings.PlatformSettings with default values.

Fields​

MemberWhat it is
ImportSettings.CompressionSettings compressionCompression to use.
string[] customLabelsExtra asset labels to add.
bool isMimapEnabledWhether mipmaps are generated.
bool isSRGBWhether the texture is sRGB.
PlatformFlags platformsPlatforms these settings apply to.
ImportSettings.TextureType scaleModeTexture type (standard or cosmetic) used for scaling.
ImportSettings.Scale textureScaleHow much to scale the texture down.

Used in​

Members of other types that take, return or hold a PlatformSettings: