private static PMDFormat.BoneList ConvertBoneList(PMXFormat pmx)
 {
     PMDFormat.BoneList result = new PMDFormat.BoneList();
     result.bone_count = (ushort)pmx.bone_list.bone.Length;
     result.bone       = new PMDFormat.Bone[result.bone_count];
     for (int i = 0; i < result.bone_count; i++)
     {
         result.bone[i] = ConvertBone(pmx, i);
     }
     return(result);
 }
 private PMDFormat.BoneList ReadBoneList()
 {
     PMDFormat.BoneList result = new PMDFormat.BoneList();
     result.bone_count = binary_reader_.ReadUInt16();
     //Debug.Log("BoneCount:"+bone_count);
     result.bone = new PMDFormat.Bone[result.bone_count];
     for (int i = 0; i < result.bone_count; i++)
     {
         result.bone[i] = ReadBone();
     }
     return(result);
 }
	private PMDFormat.BoneList ReadBoneList() {
		PMDFormat.BoneList result = new PMDFormat.BoneList();
		result.bone_count = binary_reader_.ReadUInt16();
		//Debug.Log("BoneCount:"+bone_count);
		result.bone = new PMDFormat.Bone[result.bone_count];
		for (int i = 0; i < result.bone_count; i++) {
			result.bone[i] = ReadBone();
		}
		return result;
	}
	private static PMDFormat.BoneList ConvertBoneList(PMXFormat pmx) {
		PMDFormat.BoneList result = new PMDFormat.BoneList();
		result.bone_count = (ushort)pmx.bone_list.bone.Length;
		result.bone = new PMDFormat.Bone[result.bone_count];
		for (int i = 0; i < result.bone_count; i++) {
			result.bone[i] = ConvertBone(pmx, i);
		}
		return result;
	}