MapPointToLocalPoint
MapPointToLocalPoint(Vector2Int, bool)
public Vector3 MapPointToLocalPoint(Vector2Int pos, bool cellCenter) ;
説明
Map座標からローカル座標に変換。
パラメーター
パラメーター名 | 説明 |
---|---|
pos | 座標 |
cellCenter | Cellの中心に補正するかどうか。falseの場合はCellの左下を指す。 |
戻り値
ローカル座標