I am trying to import the 2D Extras from GitHub into my project.
I am using Unity version 2019.3.0a8.
I have tried unzipping and adding the resulting folder into my Assets folder, but nothing changes even after relaunching Unity.
Specifically I am expecting when I right-click in the Projects area that the Animated Tile, Rule Tile, etc are options for objects to create. They are not listed.
What am I missing here? Thanks in advance!
EDIT: Spoke too soon. I figured out a way to get it to work, below.
I used the package branch of the github and followed the directions there in the readme (added the line to the manifest).
I am getting a bunch of errors when starting a new project (figured it would be best to start a new one).
Such as these:
Library\PackageCache\com.unity.2d.tilemap.extras@65c8c0dec37ca1d44ab5eab293aa1b6f7aeb571c\Editor\Brushes\CoordinateBrush\CoordinateBrush.cs(9,36): error CS0246: The type or namespace name ‘GridBrush’ could not be found (are you missing a using directive or an assembly reference?)
YAY. Finally working.
Steps to follow for anyone else super confused:
1 - I am using 2019x so I went to GitHub, then changed branch to the 2019 package branch.
link - https://github.com/Unity-Technologies/2d-extras/tree/package_2019.2
2 - Started a new project, then closed after.
3 - Navigated in filesystem to project folder > Packages folder, then opened manifest.json to edit.
4 - Added line from the above tree to the bottom (make sure you add a comma to the line before where you are inserting).
line - “com.unity.2d.tilemap.extras”: “GitHub - Unity-Technologies/2d-extras: Fun 2D Stuff that we'd like to share!”
5 - Reopened project from Hub and it is now working.
2 Likes