Skip to content

Commit a0dda7e

Browse files
committed
feat: Update context menu
1 parent e6f9bce commit a0dda7e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Editor/Scripts/Window/PlayableGraphMonitorWindow.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,15 @@ void IHasCustomMenu.AddItemsToMenu(GenericMenu menu)
224224
menu.AddItem(new GUIContent("Show clip progress bar title (will degrade performance)"),
225225
_viewUpdateContext.ShowClipProgressBarTitle, OnToggleShowClipProgressBarTitle);
226226
#endif
227-
228227
menu.AddItem(new GUIContent("Keep updating edges when mouse leave GraphView (will degrade performance)"),
229228
_viewUpdateContext.KeepUpdatingEdges, OnToggleKeepUpdatingEdges);
229+
menu.AddSeparator("");
230+
231+
// Source Code
232+
menu.AddItem(new GUIContent("Source Code"), false, () =>
233+
{
234+
Application.OpenURL("https://github.com/SolarianZ/UnityPlayableGraphMonitorTool");
235+
});
230236
}
231237

232238
private void OnToggleShowClipProgressBarTitle()

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.greenbamboogames.playablegraphmonitor",
3-
"version": "2.5.6",
3+
"version": "2.5.7",
44
"displayName": "PlayableGraph Monitor!",
55
"description": "PlayableGraph monitor.",
66
"unity": "2019.4",
@@ -18,4 +18,4 @@
1818
},
1919
"type": "tool",
2020
"hideInEditor": false
21-
}
21+
}

0 commit comments

Comments
 (0)