/// <summary>
 /// Returns a new copy of the given Transformdata, with the position passed in.
 /// </summary>
 /// <param name="transformData"></param>
 /// <param name="position"></param>
 /// <returns></returns>
 public static TransformData Copy(TransformData transformData, Vector3 position)
 {
     return(new TransformData(position, transformData.rotation, transformData.scale));
 }
 /// <summary>
 /// Returns a new copy of the given TransformData, with the rotation passed in
 /// </summary>
 /// <param name="transformData"></param>
 /// <param name="rotation"></param>
 /// <returns></returns>
 public static TransformData Copy(TransformData transformData, Quaternion rotation)
 {
     return(new TransformData(transformData.position, rotation, transformData.scale));
 }
 public TransformData(TransformData other)
 {
     position = other.position;
     rotation = other.rotation;
     scale    = other.scale;
 }