11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
关卡设计
此内容由第三方提供商托管,该第三方提供商在未接受Targeting Cookies的情况下不允许观看视频。如果您想观看来自这些提供商的视频,请将“Targeting Cookie”的Cookie偏好设置为“是”。
1/3
If you need your hexagon tiles to be placed perfectly, this free tiny tool will automatically snap the object to the closest grid center. No complexity, just a tiny tool to be used immediately.
可编程渲染管线(SRP)兼容性
Unity可编程渲染管线(SRP)是让您能够通过C#脚本控制渲染的一个功能。SRP是支撑通用渲染管线(URP)和高清渲染管线(HDRP)的底层技术。
Unity版本内置渲染管线通用渲染管线(URP)高清渲染管线(HDRP)
2021.3.0f1
兼容
兼容
兼容
其他兼容性信息

This asset is rendering pipeline independent. The example scene is created in the built-in pipeline though, so if you are using different than built-in, please change the material of objects in the scene to see better.

描述

This tiny script can help you place the hexagon tiles into perfect positions if you are going to craft a level or world with hexagon tiles manually. With the tool enabled, when you change the positions of objects in Unity editor, the object automatically snaps to the closest hex grid center. You can also adjust the grid size, number of grids, and the helper grid line color to best fit your needs.

技术细节

Maybe not performant if the number of grid tiles is too large, but in common cases it should be great. 100*100 tiles work without any problem.

This tool is meant to be used in the editor only, and it won't store any kind of data of the grid tile map. The only thing it does is to snap the object to the closest grid center.

使用 AI 制作

AI was used to help create part of the script.

Hex Tile Placement Snapper

(暂无评分)
7 users have favourite this asset
(7)
FREE
许可证类型
文件大小
36.1 KB
最新版本
1.0
最新发布日期
2024年12月9日
原始 Unity 版本
2021.3.0
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR
FREE