mirror of
https://github.com/Siccity/xNode.git
synced 2026-03-26 22:49:02 +08:00
added namespaces
This commit is contained in:
parent
1e8f2b081c
commit
ca86007745
@ -7,8 +7,9 @@ using UnityEngine;
|
|||||||
using UnityEditor;
|
using UnityEditor;
|
||||||
|
|
||||||
using XNode;
|
using XNode;
|
||||||
using XNodeEditor;
|
|
||||||
|
|
||||||
|
namespace XNodeEditor
|
||||||
|
{
|
||||||
[CustomEditor(typeof(XNode.NodeGraph), true)]
|
[CustomEditor(typeof(XNode.NodeGraph), true)]
|
||||||
public class NodeGraphInspector : Editor
|
public class NodeGraphInspector : Editor
|
||||||
{
|
{
|
||||||
@ -155,3 +156,4 @@ public class NodeGraphInspector : Editor
|
|||||||
GUILayout.EndHorizontal();
|
GUILayout.EndHorizontal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
@ -5,8 +5,12 @@ using UnityEditor;
|
|||||||
|
|
||||||
using XNode;
|
using XNode;
|
||||||
|
|
||||||
|
namespace XNodeEditor
|
||||||
|
{
|
||||||
[CustomEditor(typeof(Node), true)]
|
[CustomEditor(typeof(Node), true)]
|
||||||
public class NodeInspector : Editor
|
public class NodeInspector : Editor
|
||||||
{
|
{
|
||||||
public override void OnInspectorGUI() { /*hides unneeded info*/ }
|
public override void OnInspectorGUI() { /*hides unneeded info*/ }
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,6 +2,8 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace XNode
|
||||||
|
{
|
||||||
[System.Serializable]
|
[System.Serializable]
|
||||||
public class Variable
|
public class Variable
|
||||||
{
|
{
|
||||||
@ -50,3 +52,4 @@ public class Variable
|
|||||||
typeString = typeof(float).AssemblyQualifiedName;
|
typeString = typeof(float).AssemblyQualifiedName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user