/// <summary> /// 将地形块坐标转换成地形块中心点像素坐标; /// </summary> public static Vector3 ToLandformChunkPixel(this RectCoord chunkPos) { return(Grid.GetCenter(chunkPos)); }
/// <summary> /// 将地图节点坐标转换为地图节点中心像素坐标; /// </summary> public static Vector3 ToLandformPixel(this RectCoord pos) { return(Grid.GetCenter(pos)); }
/// <summary> /// 将地图节点坐标转换为地图节点中心像素坐标; /// </summary> public static Vector3 ToRectTerrainPixel(this RectCoord pos) { return(Grid.GetCenter(pos)); }