The grid will consist of square tiles quads of unit length.
Draw a grid on floor unity.
More info see in glossary such as tiles a simple class that allows a sprite to be rendered on a tilemap.
More info see in glossary unity provides both hexagonal point top and hexagonal flat top tilemaps.
Create a new material set the texture as albedo.
Set the tiling value maybe via a script to object size in meter 1000.
Filter moder point no filter.
When the camera moves over the area the tiles look choppy.
In addition to regular tilemaps a gameobject that allows you to quickly create 2d levels using tiles and a grid overlay.
A gameobject s functionality is defined by the components attached to it.
Here is some very simple extensible solution with following features.
The grid component is a guide which helps to align gameobjects the fundamental object in unity scenes which can represent characters props scenery cameras waypoints and more.
Hexagonal tiles are often used in strategic tabletop games because they have consistent distance between their centres and any point on their edge and neighboring tiles.
Import the texture into unity.
Let s find out by generating a simple rectangular grid.
This works but i have a feeling i m not doing it the right way.
So how do you make your own mesh.
A uv test texture applied to unity s meshes.
Create a new c script and turn it into a grid component that has a horizontal and vertical size.
I ve made a tiledrawer which takes a list of sprites and then randomly picks one of those sprites and draws it in a 2d grid.
Unity shark unity game development blog.
It can be done very easily in unity.
Say thanks by wishlisting my upcoming game blood and mead.
Unitypackage creating a grid of vertices.