Here are the examples of the csharp api NodeEditorFramework.NodeEditorGUI.DrawConnection(UnityEngine.Vector2, UnityEngine.Vector2, UnityEngine.Vector2, UnityEngine.Vector2, ConnectionDrawMethod, UnityEngine.Color) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
View Source File : NodeEditorGUI.cs
License : MIT License
Project Creator : virror
License : MIT License
Project Creator : virror
public static void DrawConnection (Vector2 startPos, Vector2 startDir, Vector2 endPos, Vector2 endDir, Color col)
{
#if NODE_EDITOR_LINE_CONNECTION
DrawConnection (startPos, startDir, endPos, endDir, ConnectionDrawMethod.StraightLine, col);
#else
DrawConnection (startPos, startDir, endPos, endDir, ConnectionDrawMethod.Bezier, col);
#endif
}