void DrawGrids() { if (showGrids) { HandleHelpers.DrawGrid(GetTextureArea(), scale, GRID_COLOR_MINOR, dragTotal); HandleHelpers.DrawGrid(GetTextureArea(), scale * 10, GRID_COLOR_MAJOR, dragTotal); } }
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); }