Custom Cube Grid-Tool
A downloadable tool
Download NowName your own price
Custom Cube Grid Tool (Unity)
A lightweight and practical grid utility designed to simplify level design and grid-based mechanics in Unity projects. This tool provides essential methods for grid validation, coordinate conversion, and value manipulation.
Core Methods
bool IsPointInsideGrid(int x, int y)Validates whether the given grid coordinates(x, y)fall within the defined grid boundaries. Prevents out-of-range access and ensures safe operations.void OnMouseIsDown()Detects and processes the current mouse position on click, allowing selection or interaction with a specific grid cell.void GetXY(Vector3 worldPosition, out int x, out int y)Converts a world-space position into corresponding grid indices. Useful for translating mouse position or object position into grid coordinates.void SetValue(int x, int y, int value)Assigns a new value to the specified grid cell. Enables dynamic grid updates during gameplay or editor tooling.int GetValue(int x, int y)Retrieves the stored value at the given grid coordinates. Useful for validation, pathfinding, tile logic, or state checks.
| Published | 11 days ago |
| Status | Released |
| Category | Tool |
| Author | Nishanth Kulal |
| Tags | tool, unity-tools |
Download
Download NowName your own price
Click download now to get access to the following files:
cubeGrid.unitypackage 15 kB

Leave a comment
Log in with itch.io to leave a comment.