Skip to content
项目

关于

C# 网格库

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
+4
15天
+5
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Sylves

Sylves is a C# library for to help you handle working with 2d and 3d grids.

Documentation

If you are just interested in square grids, then you probably don't need a library - the maths is very simple. But Sylves handles a huge variety of regular and irregular grids, and comes with all the methods you need for any game.

The key features include:

  • Support for 2d tilings and 3d honeycomb grids.
  • A common grid and cell interface so you can write algorithms that work on any grid.
  • An integrated understanding of orientation and rotation for grid entities.
  • Methods for working with meshes, such as remeshing, and deforming them to fit a grid cells.
  • Fully Unity compatible, Godot compatible, and works as a standalone NuGet package.

Unity Installation

The version of Sylves on NuGet is not customized to Unity. Instead, use one of these sources which re-uses many Unity specific classes.

There are three ways of doing this. Either

See also

探索相关项目

加载中…