From 5005b5e4f9b30441ad35f90c604c642d8b95995c Mon Sep 17 00:00:00 2001 From: Andrei <51819874+Tasta@users.noreply.github.com> Date: Sun, 15 Dec 2019 12:52:22 +0200 Subject: [PATCH] Made NodeGraphiEditor's OnGui method virtual and protected, so it can be extended by adding additional content/widgets to be drawn. (#214) --- Scripts/Editor/NodeEditorGUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 Scripts/Editor/NodeEditorGUI.cs diff --git a/Scripts/Editor/NodeEditorGUI.cs b/Scripts/Editor/NodeEditorGUI.cs old mode 100644 new mode 100755 index 74530d8..358b2e5 --- a/Scripts/Editor/NodeEditorGUI.cs +++ b/Scripts/Editor/NodeEditorGUI.cs @@ -17,7 +17,7 @@ namespace XNodeEditor { public event Action onLateGUI; private static readonly Vector3[] polyLineTempArray = new Vector3[2]; - private void OnGUI() { + protected virtual void OnGUI() { Event e = Event.current; Matrix4x4 m = GUI.matrix; if (graph == null) return;