AssetBundleGraph.ConnectionPointData.GetGlobalRegion C# (CSharp) Method

GetGlobalRegion() public method

public GetGlobalRegion ( NodeGUI node ) : Rect
node NodeGUI
return UnityEngine.Rect
        public Rect GetGlobalRegion(NodeGUI node)
        {
            var baseRect = node.Region;
            return new Rect(
                baseRect.x + buttonRect.x,
                baseRect.y + buttonRect.y,
                buttonRect.width,
                buttonRect.height
            );
        }