mirror of
https://github.com/yasirkula/UnityAssetUsageDetector.git
synced 2026-11-19 14:32:37 +08:00
Fixed Settings not fitting inside Preferences window on older Unity versions
This commit is contained in:
@@ -171,7 +171,11 @@ namespace AssetUsageDetectorNamespace
|
||||
public static void PreferencesGUI()
|
||||
{
|
||||
float labelWidth = EditorGUIUtility.labelWidth;
|
||||
#if UNITY_2018_3_OR_NEWER
|
||||
EditorGUIUtility.labelWidth += 60f;
|
||||
#else
|
||||
EditorGUIUtility.labelWidth += 20f;
|
||||
#endif
|
||||
|
||||
EditorGUI.BeginChangeCheck();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user