Skip to content

Commit

Permalink
Fix left in debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Happyrobot33 committed Jun 21, 2024
1 parent 3f17005 commit 7d668ed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ public static void ConsolidatePackages()
);
}

Debug.Log(variableName);
//Debug.Log(variableName);

string resolvedPath = "";

Expand All @@ -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 + "/"))
Expand All @@ -227,7 +227,7 @@ public static void ConsolidatePackages()
cleanedVariableValue = "\"" + cleanedVariableValue;
}

Debug.Log(cleanedVariableValue);
//Debug.Log(cleanedVariableValue);

/* //remove the quotes and semicolon
resolvedPath = variableValue
Expand All @@ -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))
Expand Down Expand Up @@ -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(\")"))
{
Expand Down
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 7d668ed

Please sign in to comment.