From 7d668ed968c54937d66022ea5f400a7019dff1c7 Mon Sep 17 00:00:00 2001 From: Happyrobot33 Date: Fri, 21 Jun 2024 10:05:48 -0400 Subject: [PATCH] Fix left in debug messages --- .../Editor/PackageWindowConsolidator.cs | 10 +++++----- .../package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Packages/com.happyrobot33.packagewindowconsolidator/Editor/PackageWindowConsolidator.cs b/Packages/com.happyrobot33.packagewindowconsolidator/Editor/PackageWindowConsolidator.cs index 201b332..8363177 100644 --- a/Packages/com.happyrobot33.packagewindowconsolidator/Editor/PackageWindowConsolidator.cs +++ b/Packages/com.happyrobot33.packagewindowconsolidator/Editor/PackageWindowConsolidator.cs @@ -190,7 +190,7 @@ public static void ConsolidatePackages() ); } - Debug.Log(variableName); + //Debug.Log(variableName); string resolvedPath = ""; @@ -206,7 +206,7 @@ public static void ConsolidatePackages() + variableName.Length + 3 ); - Debug.Log(variableValue); + //Debug.Log(variableValue); //check if its already updated if (variableValue.Contains(NewDropdownName + "/")) @@ -227,7 +227,7 @@ public static void ConsolidatePackages() cleanedVariableValue = "\"" + cleanedVariableValue; } - Debug.Log(cleanedVariableValue); + //Debug.Log(cleanedVariableValue); /* //remove the quotes and semicolon resolvedPath = variableValue @@ -236,7 +236,7 @@ public static void ConsolidatePackages() //update the value of the variable string newVariableValue = string.Format("\"{0}/\" + {1}", NewDropdownName, cleanedVariableValue); - Debug.Log(newVariableValue); + //Debug.Log(newVariableValue); File.WriteAllText( file, File.ReadAllText(file).Replace(variableLine, variableLine.Replace(variableValue, newVariableValue)) @@ -283,7 +283,7 @@ public static void ConsolidatePackages() } else if (IsMenuItemMovable(line)) //make sure the menu item is not in some of the other dropdowns { - Debug.Log(line); + //Debug.Log(line); //check if it is a variable if (!line.Contains("MenuItem(\")")) { diff --git a/Packages/com.happyrobot33.packagewindowconsolidator/package.json b/Packages/com.happyrobot33.packagewindowconsolidator/package.json index bd6bb14..cdbd308 100644 --- a/Packages/com.happyrobot33.packagewindowconsolidator/package.json +++ b/Packages/com.happyrobot33.packagewindowconsolidator/package.json @@ -1,7 +1,7 @@ { "name": "com.happyrobot33.packagewindowconsolidator", "displayName": "Package Window Consolidator", - "version": "1.2.2", + "version": "1.2.3", "unity": "2019.4", "description": "This package edits other packages to put all of their unity tab dropdowns into a single dropdown. This is useful for larger projects with many packages installed.", "author": {