/// <summary> Copies the values of the target </summary>
 /// <param name="target"> The target to copy </param>
 public virtual void Copy(SmoothQuaternion target)
 {
     useConstant = target.useConstant;
     value       = target.value;
     valueTarget = target.valueTarget;
     speed.Copy(target.speed);
 }
示例#2
0
 /// <summary> Copies the values of the target </summary>
 /// <param name="target"> The target to copy </param>
 public virtual void Copy(SmoothVector2 target)
 {
     useConstant = target.useConstant;
     value       = target.value;
     valueTarget = target.valueTarget;
     speed.Copy(target.speed);
 }
 /// <summary> Copies the values of the target </summary>
 /// <param name="target"> The target to copy </param>
 public virtual void Copy(MorphingValue target)
 {
     randomTarget.Copy(target.randomTarget);
     randomTime.Copy(target.randomTime);
     value       = target.value;
     valueTarget = target.valueTarget;
     speed.Copy(target.speed);
 }