GetCell

GetCell(int)

public Cell GetCell(int index) ;

説明

インデックスからCellを取得

パラメーター

パラメーター名 説明
index インデックス

戻り値

Cell

GetCell(Vector2Int)

public Cell GetCell(Vector2Int pos) ;

説明

Cellを取得。

パラメーター

パラメーター名 説明
pos 座標

戻り値

Cell。 ない場合はnullを返す。