Class FlexalonGridCell
Specifies which cell a gameObject should occupy in a grid layout.
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
FlexalonGridCell
Inherited Members
Syntax
[AddComponentMenu("Flexalon/Flexalon Grid Cell")]
[HelpURL("https://www.flexalon.com/docs/gridLayout")]
public class FlexalonGridCell : FlexalonComponent
Properties
Cell
The cell to occupy.
Declaration
public Vector3Int Cell { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3Int |
Column
The column of the cell.
Declaration
public int Column { get; set; }
Property Value
Type | Description |
---|---|
int |
Layer
The layer of the cell.
Declaration
public int Layer { get; set; }
Property Value
Type | Description |
---|---|
int |
Row
The row of the cell.
Declaration
public int Row { get; set; }
Property Value
Type | Description |
---|---|
int |