Esempio n. 1
0
 void DrawGrids()
 {
     if (showGrids)
     {
         HandleHelpers.DrawGrid(GetTextureArea(), scale, GRID_COLOR_MINOR, dragTotal);
         HandleHelpers.DrawGrid(GetTextureArea(), scale * 10, GRID_COLOR_MAJOR, dragTotal);
     }
 }
Esempio n. 2
0
 void DrawGrid(float gridSpacing, Color color)
 {
     HandleHelpers.DrawGrid(position, gridSpacing, color, DragOffset);
 }
        void DrawGrid(float gridSpacing, Color color)
        {
            Rect area = new Rect(Vector2.zero, position.size);

            HandleHelpers.DrawGrid(area, gridSpacing, color, DragOffset);
        }