Skip to content

Commit

Permalink
Merge pull request #6 from Varneon/5-suggestion-move-the-menu-item-to…
Browse files Browse the repository at this point in the history
…-the-window-menu

Allow hiding of "Varneon" toolbar menu item on the Unity Editor
  • Loading branch information
Varneon authored Jan 12, 2023
2 parents 4ca17dd + 13719de commit d3c36cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ private static readonly GUIContent
RefreshButtonContent = new GUIContent("Refresh", "Manually refresh the explorer");
private static GUIStyle RichTextStyle = new GUIStyle();

#if VARNEON_HIDE_TOOLBAR_MENU
[MenuItem("Window/Varneon/Udon Explorer")]
#else
[MenuItem("Varneon/Udon Explorer")]
#endif
public static void Init()
{
EditorWindow window = GetWindow<UdonExplorerWindow>("Udon Explorer", true);
Expand Down
2 changes: 1 addition & 1 deletion Packages/com.varneon.udonexplorer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.varneon.udonexplorer",
"displayName": "UdonExplorer",
"version": "0.3.3",
"version": "0.3.4",
"unity": "2019.4",
"description": "Unity Editor extension for easily exploring all VRCSDK3 UdonBehaviours in your Unity scene.",
"author": {
Expand Down

0 comments on commit d3c36cd

Please sign in to comment.