Example #1
0
 private static bool Verify(Vector4 row, Vector4 data,
                            int clipIndex, int keyframeIndex, int boneIndex)
 {
     if (row != data)
     {
         Debug.LogError("Error at (" + clipIndex + ", " + keyframeIndex + ", " + boneIndex + ")" +
                        " expected " + BakeryUtils.Format(row) +
                        " in data array " + BakeryUtils.Format(data));
         return(false);
     }
     return(true);
 }
Example #2
0
 private static bool Verify(Color pixel, Color row, Color color, Vector2Int index2D,
                            int clipIndex, int keyframeIndex, int boneIndex)
 {
     if (pixel != row && row != color)
     {
         Debug.LogError("Error at (" + clipIndex + ", " + keyframeIndex + ", " + boneIndex + ")" +
                        " expected " + BakeryUtils.Format(row) +
                        " Texture(" + BakeryUtils.Format(index2D) +
                        " but got " + BakeryUtils.Format(pixel) +
                        " in color array " + BakeryUtils.Format(color));
         return(false);
     }
     return(true);
 }