public string Save() { // Returns a string to be used in savefiles string[] content = new string[] { "" + bodyPart.Save(), "", "" + frameRate, V_Animation.Save_Array <V_Skeleton_Frame>(frames, V_Skeleton_Frame.Save_Static, "#SKELETONFRAMELIST#") }; return(string.Join("#SKELETONANIM#", content)); }
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)); }