Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.55k stars 343 forks source link

Prefab Brush Missing #252

Closed SamJessop closed 3 years ago

SamJessop commented 3 years ago

Not sure if this is the correct place to post this but I don't know where else to go so here goes.

I've downloaded 2D Tilemap Extras 1.6.2-preview and cannot find the Prefab Brush in the create menu. Maybe it has moved but I can't find it anywhere.

image

Any help would be appreciated.

vladderb commented 3 years ago

Hi, I don't see such a problem and can't even imagine how it can be reproduced. If I try to create something in the project folder, then in addition to the tiles, I also see brushes, where the PrefabBrush is located 1

SamJessop commented 3 years ago

That's weird, I just tried again by creating a brand new project (Unity version 2020.1.7f1) and only installing the 2D Tilemap Extras 1.6.2-preview and I get the same result as I posted in my opening post. I have to downgrade to 1.5.0-preview to be able to see just the Prefab brush.

ChuanXin-Unity commented 3 years ago

Hi, the Tilemap Extras from the Unity Package Manager does not have the Prefab Brush from 1.6.x onwards as the GameObjectBrush has mainly the same functionality. If you instead get the package through this Git repository, you will be able to get the Prefab Brush.

SamJessop commented 3 years ago

@ChuanXin-Unity so I can use the GameObjectBrush to paint prefabs in the same way??

Where do I get the GameObjectBrush?

Edit: I have found it, will play around with it when I have time, thank you :)

ChuanXin-Unity commented 3 years ago

@SamJessop Yes, although there are some differences. You will be able to paint and pick different prefabs from the Tile Palette using the GameObject Brush from Unity 20.1+. With the Prefab Brush, you can create different Prefab Brush Assets for different Prefabs.

If you encounter other differences, do let us know!