文档

Unity Engine

Unity Engine

GridLayout.CellLayout

The layout of the GridLayout.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.GridModule
public enum GridLayout.CellLayout

Remarks

The layout determines the conversion of positions from cell space to local space and vice versa.

Fields

Value

Description

HexagonHexagonal layout for cells in the GridLayout.
IsometricIsometric layout for cells in the GridLayout.
IsometricZAsYIsometric layout for cells in the GridLayout where any Z cell value set will be added as a Y value.
RectangleRectangular layout for cells in the GridLayout.