Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
Utilities
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/8
Make grids for your grid-based games, designed with performance and ease of use in mind. It can aid you to make games with building, AI pathfinding, grid-based player movement, grid-based maps, etc.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
2019.4.29f1
Compatible
Compatible
Compatible
Additional compatibility information

While the tool itself is compatible with all render pipelines since you source your own materials, some example scenes may have missing materials in non-SRP pipelines.

Description

Documentation


The customizable game grid is a tool for Unity, it can be used to generate grids that exist as an array of Vector3 positions of grid points. The grid can have a transform or a fixed position/rotation that acts as the origin (movable during runtime without regenerating the array).


The grid can be visualized using lines both at runtime and in editor. Utility methods in the grid class can be used to get the closest grid point to a given world position, an adjacent grid point in a given direction, etc.

The grid is built for performance and extra features such as line drawing are completely optional if positional transformations is all that is needed.


Objects can also be spawned on the grid with the included object spawner using a variety of different spawning modes. In specific spawning modes objects can be placed by clicking or dragging the mouse over the grid in scene view, which makes the creation of grid-based maps super quick.


Examples of usages:

• Getting world positions of grid points (even while the grid is moving)

• Basis for path-finding algorithms like A*.

• Basis for grid based movement in RTS games etc.

• Grid based building in village games or sandbox games etc.

• Quick creation of static or procedural grid based maps with the object spawner.

• Purely visual grids using line drawing (customizable color and line width).


If you have questions, bugs or feature requests please contact me!

Technical details

• Create grids using the C# class Grid2D or the MonoBehaviour wrapper Grid2DMono.

• Set origin of the grid to be a transform or fixed position/rotation (transform can be moved during runtime).

• Get positions of grid points both in grid space or world space.

• Get closest grid point to a given world space position.

• Visualize grids with lines (drawn using Gizmos in Editor and GL during runtime).

• Spawn objects (primitives or custom prefabs) using a wide-variety of spawning modes such as all indices, checkered, specified indices, etc.

Customizable Game Grid

(not enough ratings)
42 users have favourite this asset
(42)
$19.99
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
2.3 MB
Latest version
0.1.1-beta
Latest release date
Aug 22, 2022
Original Unity version
2019.4.29
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR