Can't select Grid prefab for project
See original GitHub issueI’m trying to use a different grid prefab for my levels, but the selector for Grid Prefabs isn’t showing any assets, not even the default LDtkDefaultGrid
. I’m guessing it can’t see the prefabs because they’re a GameObject
and just contain a Grid
, whereas the asset picker is filtering for type Grid
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
Unable To Select Gridlines - Autodesk Community - Revit ...
Solved: Hello This is probably a simple one - how do I select the gridlines in the opening view of the attached project?...
Read more >can't modify gridlines
In all of the tutorials, it's easy: just click on the gridline, and the modification points and lock symbol show up, but not...
Read more >Manual: Editing a Prefab in Prefab Mode
If you need to edit them, you can either open the Prefab in isolation, or select the Prefab Asset in the Project window...
Read more >How to snap dragged prefab to the grid in Unity - YouTube
Your browser can't play this video. Learn more. Heightened focus.
Read more >Prefab Pick & Place
Prefab Pick & Place lets you select prefab from scene view instead of drag and drop from project view. Asset Store [ATTACH] Press...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I believe I have a solution concerning int grid values. I’ve been exploring Unity Tilemaps API more and discovered that Tiles utilize an inherited TileBase, which essentially means that any sort of custom scripting could be set up for tiles, whether it’s art, creating game objects, collision shape via sprite, even animated tiles. 😃
Unity docs for inheriting from TileBase here.
Also, to help allow JSON data to be communicated to the tiles during the level building process, I’m going to experiment with either an extra layer of inheritance (ex. LDtkTile) or using interfaces (ex. ILDtkTileColor, ILDtkIntGridValue). If this idea doesn’t work out then I’ll try something else.
I’m going to add this TileBase field when I get around to it and see how it works out. It’s not on my agenda right now but something I want to add to the project pretty soon. It might even show up next update; we’ll see as time tells.
I believe this will help out with achieving your own goals with int grid value tiles. It lends itself to a more “open nature”. 🙂
I’m leaving this issue as resolved, but feel free to reopen (or post new different issue) if necessary 🙂