public void HandleMergeGroup(Group group) { if (group.elapsedTime > 1f) { this.mergeGroupList.Remove(group); } else { group.SetOwnerPosition(Vector3.Lerp(group.ownerOriginalPosition, group.mergeOrigin, group.elapsedTime)); group.SetClonePosition(Vector3.Lerp(group.cloneOriginalPosition, group.mergeOrigin, group.elapsedTime)); group.SetOwnerScale(Vector3.Lerp(group.ownerOriginalScale, group.ownerNewScale, group.elapsedTime)); group.SetCloneScale(Vector3.Lerp(group.ownerOriginalScale, group.ownerNewScale, group.elapsedTime)); group.UpdateTime(1f); } }