Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


cellLayout

Cell shape and packing that the grid uses when converting cell positions to local space.
Read time 1 minuteLast updated 5 days ago

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.