Skip to content

Unity's Editor GameObjects Paint Tool for 2D Games. It contains both a custom window for objects palette + a customizable brush for paining.

License

Notifications You must be signed in to change notification settings

acoppes/unity-gameobject-brush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity's GameObject Paint Tool

This tool provides both a GameObject Palette Window and customizable Brushes in order to simplify the task of decorating 2d Games scenes using GameObjects.

Features

  • Preview what you paint, in the layer you paint it.
  • Customizable brushes.
  • Customizable palette window.

Example

Alt text Alt text

The assets pack

We are using the https://bakudas.itch.io/generic-rpg-pack asset pack, right now is free but you can pay what you want on download, it is not the idea to distribute it from outside itchio with this tool but it is great to show a good example of how the tool works.

Roadmap

  • Filters for game objects (decide which objects to show in palette)
    • Customizable (logic)
  • Settings (asset) to configure prefab folders.
    • Filters to use
    • Customizable in asset or preferences
    • Default prefabs folder
    • Search for children or not when generating palette.
  • Cleanup stuff on scene save, load, etc.
  • Erase
    • Filter which objects not to delete (check objects inside root, avoid root, camera, etc)
    • While holding key or while erase selected, highlight the object that is going to be deleted?
    • Bigger "erase" size, now it works one by one and doesn't allow dragging.
  • Brushes and paint logic
    • Drag paint delay and distance to paint.
    • Random Flip
    • Random Size
    • Paint multiple instances, random, distribute in area.
    • Paint with prefab instance or unpack prefab.
  • Misc
    • Visible tools for paint and erase (with icons), with togglable buttons.
    • Configurable modifier key to toggle erase
    • Sprite assets in palette
    • Change to use UIElements.
    • User brush override data in editor window.
    • Documentation of how to use it and extend.
    • Maybe brushes should be GameObjects to support custom modifiers as components.
    • Pick scene and root to paint to.
    • Paint 3d objects too?

Known Issues

  • Using asset preview in palette has a limit and objects keep losing the preview.
  • First time a Palette is created prefabs list is null and throws some errors.

Licence

This repository is MIT licensed.

About

Unity's Editor GameObjects Paint Tool for 2D Games. It contains both a custom window for objects palette + a customizable brush for paining.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages