Unity Script Reference:
TextureImporterSettings.maxTextureSize
var maxTextureSize: int;
int maxTextureSize;
maxTextureSize as int
Description