A free, basic prefab-painter for Unity3D.
After you've downloaded the files, you have 3 options to 'install' this tool.
- Download this repository and put the downloaded files in your Assets/ folder.
- Download this repository somewhere in your files. Then in Unity locate the package.json file through the package manager UI.
-
Reference this git repository in your project manifest file under dependencies. This will add the package to you project.
"me.ameye.prefab-painter": "https://github.com/alexanderameye/prefab-painter.git"
- Paint on every type of surface (plane, terrain, sphere,...)
- Paint multiple types of prefabs at once
- Paint with random prefab rotations
- Paint with random prefab sizes
- Prefab previewer
- Customizable brush size, density
- Paint on selected layers
- Palettes/presets functionality with useful toolbar
- Dynamic prefab list
ctrl + left mouse button to paint
ctrl + scroll to change the brush size
alt + scroll to change the brush density
Make sure that the layer settings in the prefab painter are set up correctly!
Important! The prefabs need colliders in order for the tool to work.
Palettes are 'painting presets'. You can for example create a 'Trees' that contains 3 different types of trees. You can manage your palettes using the palette toolbar. You can use the 'Load' button to load a custom palette from your project folder, or you can create a new palette by clicking 'palettes > New Palette'. After you've edited a palette, don't forget to save it. You can relocate or rename palettes however you want.
This tool has been tested with Unity 2018.3.0f2.
https://forum.unity.com/threads/released-free-prefab-painter-github.506118/
These are the planned features in no particular order. Not all features marked 'done' are on GitHub already.
✔️ Improved palette system with new toolbar
✔️ Undo/redo support
✔️ Package manager support
✔️ Better prefab list UI with drag-and-drop functionality
✔️ Palette save location menu and renaming functionality
❌ Prefab list multi-select and delete functionality
❌ Painting code cleanup
❌ Slope and altitude painting rules
❌ New painting handle look
❌ Probability settings per prefab
❌ Erase brush
❌ Grid brush
❌ Runtime prefab placing
❌ Paint aligned to painting stroke
These are some known issues and inconveniences I'd like to fix.
🪲 Sometimes when you edit the settings of a prefab, the settings don't get registered without pressing enter
🪲 Some prefabs don't get placed
🪲 Undo error when undo object is null