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,11 +7,12 @@ using UnityEngine;
|
||||
using UnityEditor;
|
||||
|
||||
using XNode;
|
||||
using XNodeEditor;
|
||||
|
||||
[CustomEditor(typeof(XNode.NodeGraph), true)]
|
||||
public class NodeGraphInspector : Editor
|
||||
namespace XNodeEditor
|
||||
{
|
||||
[CustomEditor(typeof(XNode.NodeGraph), true)]
|
||||
public class NodeGraphInspector : Editor
|
||||
{
|
||||
SerializedProperty nodesProp;
|
||||
SerializedProperty variablesProp;
|
||||
|
||||
@ -154,4 +155,5 @@ public class NodeGraphInspector : Editor
|
||||
|
||||
GUILayout.EndHorizontal();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,8 +5,12 @@ using UnityEditor;
|
||||
|
||||
using XNode;
|
||||
|
||||
[CustomEditor(typeof(Node), true)]
|
||||
public class NodeInspector : Editor
|
||||
namespace XNodeEditor
|
||||
{
|
||||
[CustomEditor(typeof(Node), true)]
|
||||
public class NodeInspector : Editor
|
||||
{
|
||||
public override void OnInspectorGUI() { /*hides unneeded info*/ }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2,9 +2,11 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[System.Serializable]
|
||||
public class Variable
|
||||
namespace XNode
|
||||
{
|
||||
[System.Serializable]
|
||||
public class Variable
|
||||
{
|
||||
public string id;
|
||||
public string typeString;
|
||||
public System.Type type
|
||||
@ -49,4 +51,5 @@ public class Variable
|
||||
id = "new_variable";
|
||||
typeString = typeof(float).AssemblyQualifiedName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user