Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public override BlendBase Copy(BlendBase target)
 {
     if (target is BlendPosition _target)
     {
         position = _target.position;
     }
     return(this);
 }
Exemplo n.º 3
0
 public abstract BlendBase Copy(BlendBase target);
Exemplo n.º 4
0
 public abstract BlendBase Lerp(BlendBase from, BlendBase to, float progress);