MapPointToLocalPoint

MapPointToLocalPoint(Vector2Int, bool)

public Vector3 MapPointToLocalPoint(Vector2Int pos, bool cellCenter) ;

Description

Maps the point to local point.

Parameters

Parameter Name Description
pos Position.
cellCenter Whether to correct to the center of the Cell. If false, it points to the lower left of the Cell.

Returns

The point to local point.