You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Editor/Mono/BuildPlayerWindow.cs
+111-7Lines changed: 111 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,44 @@ public GUIContent GetDownloadErrorForTarget(BuildTarget target)
76
76
publicGUIContentlearnAboutUnityCloudBuild=EditorGUIUtility.TrTextContent("Learn about Unity Cloud Build");
77
77
publicGUIContentcompressionMethod=EditorGUIUtility.TrTextContent("Compression Method","Compression applied to Player data (scenes and resources).\nDefault - none or default platform compression.\nLZ4 - fast compression suitable for Development Builds.\nLZ4HC - higher compression rate variance of LZ4, causes longer build times. Works best for Release Builds.");
78
78
79
+
publicreadonlyGUIContentassetImportOverrides=EditorGUIUtility.TrTextContent("Asset Import Overrides","Asset import overrides for local development. Reducing maximum texture size or compression settings can speed up asset imports and platform switches.");
80
+
publicreadonlyGUIContentmaxTextureSize=EditorGUIUtility.TrTextContent("Max Texture Size","Maximum texture import size for local development. Reducing maximum texture size can speed up asset imports and platform switches.");
81
+
publicreadonlyGUIContent[]maxTextureSizeLabels=
82
+
{
83
+
EditorGUIUtility.TrTextContent("No Override","Use maximum texture size as specified in per-texture import settings."),
84
+
EditorGUIUtility.TrTextContent("Max 2048","Make imported textures never exceed 2048 pixels in width or height."),
85
+
EditorGUIUtility.TrTextContent("Max 1024","Make imported textures never exceed 1024 pixels in width or height."),
86
+
EditorGUIUtility.TrTextContent("Max 512","Make imported textures never exceed 512 pixels in width or height."),
87
+
EditorGUIUtility.TrTextContent("Max 256","Make imported textures never exceed 256 pixels in width or height."),
88
+
EditorGUIUtility.TrTextContent("Max 128","Make imported textures never exceed 128 pixels in width or height."),
89
+
EditorGUIUtility.TrTextContent("Max 64","Make imported textures never exceed 64 pixels in width or height."),
EditorGUIUtility.TrTextContent("No Override","Do not modify texture import compression settings."),
104
+
EditorGUIUtility.TrTextContent("Force Fast Compressor","Use a faster but lower quality texture compression mode for all compressed textures. Turn off Crunch compression."),
105
+
EditorGUIUtility.TrTextContent("Force Uncompressed","Do not compress textures."),
publicreadonlyGUIContenttextureCompression=EditorGUIUtility.TrTextContent("Texture Compression","Texture compression override for local development. Fast or Uncompressed can speed up asset imports and platform switches.");
0 commit comments