1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-21 17:56:06 +08:00
xNode/Examples/Nodes/Editor/MathNodeEditor.cs
Thor Brigsted 638e784ca9 Added custom context menu path in attribute
Created NodeEditorUtilities
Renamed 'RightClickContextMenu' to 'ShowContextMenu'
Excluded abstract classes from nodeTypes and nodeEditorTypes
2017-09-22 12:19:21 +02:00

12 lines
269 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CustomNodeEditor(typeof(MathNode), "Math")]
public class AddNodeEditor : NodeEditor {
public override void OnNodeGUI() {
GUILayout.Label("YEAH CUSTOM");
}
}