文档

Unity Engine

Unity Engine

cellLayout

Cell shape and packing that the grid uses when converting cell positions to local space.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.GridModule
public GridLayout.CellLayout cellLayout { get; set; }

Remarks

See GridLayout.CellLayout for the available layouts, which include rectangle, hexagon, and isometric shapes.