mirror of
https://github.com/Siccity/xNode.git
synced 2025-12-20 17:26:02 +08:00
Made NodeGraphiEditor's OnGui method virtual and protected, so it can be extended by adding additional content/widgets to be drawn. (#214)
This commit is contained in:
parent
d54a03988a
commit
5005b5e4f9
2
Scripts/Editor/NodeEditorGUI.cs
Normal file → Executable file
2
Scripts/Editor/NodeEditorGUI.cs
Normal file → Executable file
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user