void OnGUI() { Rect mapDimRectDraw = U2D.ReturnDrawRectYInverted(selectionDimRect); GUI.DrawTexture(mapDimRectDraw, tex); }