예제 #1
0
        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);
            }
        }
예제 #2
0
 public override void Step(float dt)
 {
     m_pInnerAction.Step(dt * m_fSpeed);
 }