private GameObject getAdjacent(Vector3 offset) { Vector3 adjacentPos = transform.position + offset; return(grid.GetAt((int)adjacentPos.x, (int)adjacentPos.y, (int)adjacentPos.z)); }
private GameObject getAdjacent(Vector3 offset) { Vector3 adjacentPos = transform.position + offset; return(grid.GetAt((int)adjacentPos.x, (int)adjacentPos.y, (int)adjacentPos.z)); }