Scripting API

Grid

class in UnityEngine · UnityEngine.GridModule · inherits from GridLayout

9 of 9 of Unity's membersUnity's documentation
In Tassix

The layout tilemaps under it use: cell size, gap, layout and swizzle.

Properties 4

Vector3 cellGap { get; set; }
CellLayout cellLayout { get; set; }
Vector3 cellSize { get; set; }
CellSwizzle cellSwizzle { get; set; }

Methods 4

Vector3 GetCellCenterLocal(Vector3Int position)
Vector3 GetCellCenterWorld(Vector3Int position)
static Vector3 InverseSwizzle(CellSwizzle swizzle, Vector3 position)
static Vector3 Swizzle(CellSwizzle swizzle, Vector3 position)