Skip to content

Bentlybro/unity-editor-toolbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Tools Collection

A collection of custom Unity Editor tools and utilities I've built to streamline my development workflow. These tools are designed to save time on repetitive tasks and improve productivity.

Current Tools

Terrain Auto Fill

Located in AutoFill/ - Tools for quickly populating terrain with details.

Grass Auto Fill (AutoFill/Grass/TerrainGrassAutoFill.cs)

Editor window for automatically filling terrains with grass details and flowers.

  • Access via Tools > Terrain Grass Auto Fill
  • Configurable density ranges (1-2000 for grass, 0-1000 for flowers)
  • Separate controls for base grass and flower layers
  • Clumping and coverage controls for natural distribution
  • Quick presets: MEGA DENSE, Dense Clumps, MAXIMUM
  • One-click fill or clear entire terrain

Tree Auto Fill (AutoFill/Trees/TerrainTreeAutoFill.cs)

Editor window for intelligently placing trees across terrain with spacing controls.

  • Access via Tools > Terrain Tree Auto Fill
  • Place 10-5000 trees with configurable spacing
  • Random scale and rotation variation
  • Slope-aware placement with adjustable angle limits
  • Collision avoidance system
  • Quick presets: Light Forest, Dense Forest, JUNGLE
  • One-click fill or clear entire terrain

Terrain to Mesh Converter (TerrainToMesh/TerrainToMeshConverter.cs)

Convert Unity terrain to optimized static meshes for better performance.

  • Access via Tools > Terrain to Mesh Converter
  • Adjustable resolution (32-2048 vertices)
  • Optional mesh collider generation
  • Material preservation (beta)
  • Perfect for mobile optimization or final builds
  • Automatic mesh saving and GameObject creation

Unused Asset Finder (UnusedAssets/UnusedAssetFinder.cs)

Scan project for unused assets and missing references to keep projects clean.

  • Access via Tools > Unused Asset Finder
  • Find unused textures, materials, prefabs, models, audio files
  • Detect missing references in prefabs
  • Calculate disk space savings
  • Export results to text file
  • Safe delete with confirmation dialogs
  • Customizable asset type filters

Prop Scatter Tool (PropScatter/PropScatterTool.cs)

Scatter props (rocks, debris, foliage) naturally across terrain or mesh surfaces.

  • Access via Tools > Prop Scatter Tool
  • Works with terrain and custom meshes
  • Multiple prop prefabs with random selection
  • Configurable density (1-5000 props)
  • Scatter radius and center position controls
  • Scale variation (uniform or per-axis)
  • Surface normal alignment with offset control
  • Slope filtering and physics collision detection
  • Quick presets: Light Scatter, Dense Scatter, MAXIMUM

Snap to Surface (SnapToSurface/SnapToSurfaceTool.cs)

Quickly snap selected objects to terrain or mesh surfaces below them.

  • Access via Tools > Snap to Surface
  • Keyboard shortcut: Select objects and press 'S'
  • Snap to terrain or mesh colliders
  • Optional surface normal alignment
  • Random Y rotation with range control
  • Configurable vertical offset
  • Layer mask filtering
  • Batch process multiple objects
  • Undo-friendly
  • Quick action buttons for common operations

Texture Batch Processor (TextureBatch/TextureBatchProcessor.cs)

Batch process texture import settings for multiple textures at once.

  • Access via Tools > Texture Batch Processor
  • Process selected textures or scan entire folders
  • Change import settings (type, sRGB, alpha, mipmaps, etc.)
  • Resize textures (set max import size)
  • Adjust compression quality
  • Change texture format
  • Progress bars for large batches
  • Full undo support
  • Safety warnings and confirmations

Installation

  1. Clone or download this repository
  2. Copy desired tool folders into your Unity project's Assets/Editor directory
  3. Unity will automatically compile the scripts
  4. Access tools from the Unity menu bar under Tools

Usage

Each tool includes its own interface with intuitive controls and help text. Open the tool from the Tools menu and follow the on-screen instructions.

Requirements

  • Unity 2019.4 or newer
  • No external dependencies (uses built-in Unity Editor API)

License

MIT License - Free to use in personal and commercial projects.


More tools will be added as I build them. Each tool is designed to be standalone and focused on solving a specific problem.

About

Handy Unity Editor tools I've built to save time on common development tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages