public static V_Skeleton_Frame Load(string save) { string[] content = V_Animation.SplitString(save, "#SKELETONFRAME#"); int frameCount = int.Parse(content[0]); Vector3 pos = V_Animation.Load_Vector3(content[1]); float size = float.Parse(content[2]); int rot = int.Parse(content[3]); V_Animation.StringArrPushIfIndex(4, ref content, ""); string trigger = content[4]; V_Animation.StringArrPushIfIndex(5, ref content, ""); UVType uvType = UVType.Load(content[5]); V_Animation.StringArrPushIfIndex(6, ref content, "1"); float scaleX = float.Parse(content[6]); V_Animation.StringArrPushIfIndex(7, ref content, "1"); float scaleY = float.Parse(content[7]); V_Animation.StringArrPushIfIndex(8, ref content, "-100"); int sortingOrder = int.Parse(content[8]); V_Animation.StringArrPushIfIndex(9, ref content, "0,0"); Vector2 pivot = V_Animation.Load_Vector2(content[9]); V_Animation.StringArrPushIfIndex(10, ref content, "0,0"); Vector2 v00offset = V_Animation.Load_Vector2(content[10]); V_Animation.StringArrPushIfIndex(11, ref content, "0,0"); Vector2 v01offset = V_Animation.Load_Vector2(content[11]); V_Animation.StringArrPushIfIndex(12, ref content, "0,0"); Vector2 v10offset = V_Animation.Load_Vector2(content[12]); V_Animation.StringArrPushIfIndex(13, ref content, "0,0"); Vector2 v11offset = V_Animation.Load_Vector2(content[13]); return(new V_Skeleton_Frame(frameCount, pos, size, rot, trigger, uvType, scaleX, scaleY, sortingOrder, pivot, v00offset, v01offset, v10offset, v11offset)); }