Пример #1
0
 protected override Vector3 GetShowValue(float t)
 {
     return(StartPosition + CurveShow.Evaluate(t) * (m_TargetPosition - StartPosition));
 }
 protected override float GetShowValue(float t)
 {
     return(StartPosition + CurveShow.Evaluate(t) * m_TotalDistance);
 }