AssetBundleGraph.GraphBackground.Draw C# (CSharp) Method

Draw() public method

public Draw ( Rect position, Vector2 scroll ) : void
position UnityEngine.Rect
scroll Vector2
return void
        public void Draw(Rect position, Vector2 scroll)
        {
            m_graphRegion = position;
            m_scrollPosition = scroll;

            if (Event.current.type == EventType.Repaint) {
                UnityEditor.Graphs.Styles.graphBackground.Draw (position, false, false, false, false);
            }

            DrawGrid ();
        }