public static void GetNextRightVertexUV(List <CD> list, int index, MeshSet meshSet, ref Vector3 leftOfBase, int boneIndex /*= -1*/) { if (list[index] is CD_CHAR) { CD_CHAR.GetNextRightVertexUV(list, index, meshSet, ref leftOfBase, boneIndex); } else if (list[index] is CD_IMAGE) { //CD_IMAGE.GetNextRightVertexUV(list, index, meshSet, ref leftOfBase); Vector3 nextLeftOfBase; CD_IMAGE.GetNextRightVertexUV(list, index, meshSet, CD_IMAGE.POSMODE.LEFOFBASE, leftOfBase, out nextLeftOfBase, boneIndex); leftOfBase = nextLeftOfBase; } else { } }