示例#1
0
 public CubeCoordinatesInt CubeFromUnity(Vector2 point, RoundingMethod roundingMethod)
 {
     return(CubeCoordinatesInt.FromUnity(point, _size, roundingMethod));
 }
示例#2
0
 public static OffsetCoordinatesInt FromUnity(Vector2 point, float size, RoundingMethod roundingMethod)
 {
     return(CubeCoordinatesInt.FromUnity(point, size, roundingMethod).ToOffset());
 }