FindCell
FindCell(Vector3)
Description
Finds the Cell from the world position.
Parameters
Parameter Name | Description |
---|---|
worldPos | World position. |
Returns
CellResult is returned if you find. Null is returned if it does not exist.
FindCell(Collider2D)
Description
Find Cell from Collider 2D.
Parameters
Parameter Name | Description |
---|---|
collider | Collider2D to acquire Cell |
Returns
Return Cell. It returns null if it can not be found.