예제 #1
0
 public override BlendBase Lerp(BlendBase from, BlendBase to, float progress)
 {
     if (from is BlendPosition _from && to is BlendPosition _to)
     {
         position = Vector3.Lerp(_from.position, _to.position, progress);
     }
     return(this);
 }
예제 #2
0
 public override BlendBase Copy(BlendBase target)
 {
     if (target is BlendPosition _target)
     {
         position = _target.position;
     }
     return(this);
 }
예제 #3
0
 public abstract BlendBase Copy(BlendBase target);
예제 #4
0
 public abstract BlendBase Lerp(BlendBase from, BlendBase to, float progress);