Esempio n. 1
0
 void DrawHandle(Vector2 startPos, Vector2 endPos)
 {
     if (Handles.Button(Vector3.Lerp(startPos, endPos, .5f), Quaternion.identity, 4f, 8f, Handles.RectangleHandleCap))
     {
         fromNode.DeleteConnection();
     }
 }