1
0
mirror of https://github.com/Siccity/xNode.git synced 2025-12-20 17:26:02 +08:00
xNode/Examples/Nodes/Editor/MathNodeEditor.cs
Thor Brigsted 372099b03d Minor bugfixes and cleanup
Changed:
 - Private fields with [Serializable] attributes are now also shown
 - Nodes can now only be dragged by the title
 - Output text alignment
Fixed:
 - NodeEditorWindow fields not resetting to null
 - Field editors
2017-09-21 18:15:40 +02:00

12 lines
254 B
C#

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