diff --git a/Scripts/Attributes/NodeEnum.cs b/Scripts/Attributes/NodeEnum.cs
index 9cdaef4..8de61ca 100644
--- a/Scripts/Attributes/NodeEnum.cs
+++ b/Scripts/Attributes/NodeEnum.cs
@@ -1,5 +1,7 @@
using UnityEngine;
-/// Draw enums correctly within nodes. Without it, enums show up at the wrong positions.
-/// Enums with this attribute are not detected by EditorGui.ChangeCheck due to waiting before executing
-public class NodeEnumAttribute : PropertyAttribute { }
\ No newline at end of file
+namespace XNode {
+ /// Draw enums correctly within nodes. Without it, enums show up at the wrong positions.
+ /// Enums with this attribute are not detected by EditorGui.ChangeCheck due to waiting before executing
+ public class NodeEnumAttribute : PropertyAttribute { }
+}
\ No newline at end of file
diff --git a/Scripts/Attributes/PortTypeOverrideAttribute.cs b/Scripts/Attributes/PortTypeOverrideAttribute.cs
index 316ca2d..1c269ef 100644
--- a/Scripts/Attributes/PortTypeOverrideAttribute.cs
+++ b/Scripts/Attributes/PortTypeOverrideAttribute.cs
@@ -1,12 +1,17 @@
using System;
-/// Overrides the ValueType of the Port, to have a ValueType different from the type of its serializable field
-/// Especially useful in Dynamic Port Lists to create Value-Port Pairs with different type.
-[AttributeUsage(AttributeTargets.Field)]
-public class PortTypeOverrideAttribute : Attribute {
- public Type type;
- /// Overrides the ValueType of the Port
- /// ValueType of the Port
- public PortTypeOverrideAttribute(Type type) {
- this.type = type;
+
+namespace XNode {
+ /// Overrides the ValueType of the Port, to have a ValueType different from the type of its serializable field
+ /// Especially useful in Dynamic Port Lists to create Value-Port Pairs with different type.
+ [AttributeUsage(AttributeTargets.Field)]
+ public class PortTypeOverrideAttribute : Attribute
+ {
+ public Type type;
+ /// Overrides the ValueType of the Port
+ /// ValueType of the Port
+ public PortTypeOverrideAttribute(Type type)
+ {
+ this.type = type;
+ }
}
-}
+}
\ No newline at end of file