From 49b25e755b70ec412feaaf0b898d6f7e09d2bea6 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 28 Jun 2022 09:40:37 +0800 Subject: +node example --- .../Assets/xNode-examples/Examples/MathGraph/MathGraph.cs | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Other/NodeEditorExamples/Assets/xNode-examples/Examples/MathGraph/MathGraph.cs (limited to 'Other/NodeEditorExamples/Assets/xNode-examples/Examples/MathGraph/MathGraph.cs') diff --git a/Other/NodeEditorExamples/Assets/xNode-examples/Examples/MathGraph/MathGraph.cs b/Other/NodeEditorExamples/Assets/xNode-examples/Examples/MathGraph/MathGraph.cs new file mode 100644 index 00000000..420ce64e --- /dev/null +++ b/Other/NodeEditorExamples/Assets/xNode-examples/Examples/MathGraph/MathGraph.cs @@ -0,0 +1,8 @@ +using System; +using UnityEngine; + +namespace XNode.Examples { + /// Defines an example nodegraph that can be created as an asset in the Project window. + [Serializable, CreateAssetMenu(fileName = "New Math Graph", menuName = "xNode Examples/Math Graph")] + public class MathGraph : XNode.NodeGraph { } +} \ No newline at end of file -- cgit v1.1-26-g67d0