public void Draw( EditorWindow editor, Rect viewRect, ConnectionStyle style = ConnectionStyle.BezierVertical ) { EditorAreaUtils.BeginZoomArea(ZoomLevel, viewRect); { DrawWindows(editor); DrawConnections(style); } EditorAreaUtils.EndZoomArea(); }
public void Draw( EditorWindow editor, Rect viewRect, ConnectionStyle style = ConnectionStyle.Smooth ) { DrawRect = viewRect; ConnectionLineStyle = style; EditorAreaUtils.BeginZoomArea(ZoomLevel, viewRect); { DrawWindows(editor); DrawConnections(style); } EditorAreaUtils.EndZoomArea(); }
public void Draw( EditorWindow editor, Rect viewRect, ConnectionStyle style = ConnectionStyle.Smooth ) { DrawRect = viewRect; ConnectionLineStyle = style; EditorAreaUtils.BeginZoomArea(ZoomLevel, viewRect); { try { DrawWindows(editor); DrawConnections(style); } catch (Exception e) { Debug.LogException(e); } } EditorAreaUtils.EndZoomArea(); }