public override void Step(float dt) { m_pInnerAction.Step(dt); if (m_pInnerAction.IsDone) { float diff = m_pInnerAction.Elapsed - m_pInnerAction.Duration; m_pInnerAction.StartWithTarget(m_pTarget); m_pInnerAction.Step(0f); m_pInnerAction.Step(diff); } }
public override void Step(float dt) { m_pInnerAction.Step(dt * m_fSpeed); }