Ejemplo n.º 1
0
 public string Save()
 {
     //Returns a string to be used in savefiles
     string[] content = new string[] {
         "" + 99,
         V_Animation.Save_Array <Vector2>(uvs, delegate(Vector2 vec) { return(V_Animation.Save_Vector2(vec)); }, "#VECTOR2ARR#"),
         "" + customName,
         "" + id,
         "" + textureName,
         "" + textureWidth,
         "" + textureHeight,
     };
     return(string.Join("#UVTYPE#", content));
 }
Ejemplo n.º 2
0
 public string Save()
 {
     //Returns a string to be used in savefiles
     string[] content = new string[] {
         "" + frameCount,
         "" + V_Animation.Save_Vector3(pos),
         "" + size,
         "" + (int)rot,
         trigger,
         uvType.Save(),
         "" + scaleX,
         "" + scaleY,
         "" + sortingOrder,
         "" + V_Animation.Save_Vector2(pivot),
         "" + V_Animation.Save_Vector3(v00offset),
         "" + V_Animation.Save_Vector3(v01offset),
         "" + V_Animation.Save_Vector3(v10offset),
         "" + V_Animation.Save_Vector3(v11offset),
     };
     return(string.Join("#SKELETONFRAME#", content));
 }