diff --git a/Source/Editor/Surface/Archetypes/Function.cs b/Source/Editor/Surface/Archetypes/Function.cs
index cf680c06e..d56d6d790 100644
--- a/Source/Editor/Surface/Archetypes/Function.cs
+++ b/Source/Editor/Surface/Archetypes/Function.cs
@@ -773,7 +773,7 @@ namespace FlaxEditor.Surface.Archetypes
Values[4] = GetSignatureData(memberInfo, memberInfo.GetParameters());
}
}
-
+
private SignatureInfo LoadSignature()
{
var signature = new SignatureInfo();
diff --git a/Source/Editor/Surface/ContextMenu/VisjectCMGroup.cs b/Source/Editor/Surface/ContextMenu/VisjectCMGroup.cs
index 9ab67f856..aab9f3112 100644
--- a/Source/Editor/Surface/ContextMenu/VisjectCMGroup.cs
+++ b/Source/Editor/Surface/ContextMenu/VisjectCMGroup.cs
@@ -153,10 +153,10 @@ namespace FlaxEditor.Surface.ContextMenu
// Hide group if none of the items matched the filter
Visible = false;
}
-
+
Profiler.EndEvent();
}
-
+
///
/// Updates the sorting of the s of this
/// Also updates the
diff --git a/Source/Editor/Surface/NodeArchetype.cs b/Source/Editor/Surface/NodeArchetype.cs
index 1a7f88f20..e2a9c84fa 100644
--- a/Source/Editor/Surface/NodeArchetype.cs
+++ b/Source/Editor/Surface/NodeArchetype.cs
@@ -72,7 +72,7 @@ namespace FlaxEditor.Surface
///
All = Scalar | Vector | Enum | Anything | Value | Array | Dictionary,
}
-
+
///
/// Surface node archetype description.
///
@@ -123,7 +123,7 @@ namespace FlaxEditor.Surface
/// Custom set of flags.
///
public NodeFlags Flags;
-
+
///
/// Title text.
///
@@ -166,7 +166,7 @@ namespace FlaxEditor.Surface
/// Connections hints.
///
public ConnectionsHint ConnectionsHints;
-
+
///
/// Array with independent boxes IDs.
///
diff --git a/Source/Editor/Surface/VisjectSurface.Connecting.cs b/Source/Editor/Surface/VisjectSurface.Connecting.cs
index 9ca4f82e8..145bdfedf 100644
--- a/Source/Editor/Surface/VisjectSurface.Connecting.cs
+++ b/Source/Editor/Surface/VisjectSurface.Connecting.cs
@@ -200,6 +200,13 @@ namespace FlaxEditor.Surface
return false;
}
+ ///
+ /// Checks if a type is compatible with another type and can be casted by using a connection hint
+ ///
+ /// Source type
+ /// Target type
+ /// Connection hint
+ /// True if any method of casting or compatibility check succeeds
public static bool FullCastCheck(ScriptType from, ScriptType to, ConnectionsHint hint)
{
// Yes, from and to are switched on purpose