예제 #1
0
        protected override bool OnUpdate(float deltaTime)
        {
            for (var i = 0; i < 100; ++i)
            {
                if (action_._Update(deltaTime) == false)
                {
                    break;
                }

                action_._Complete();

                curLoop_ += 1;

                if (loops_ != INFINITY && curLoop_ >= loops_)
                {
                    return(true);
                }

                action_._Rewind();
                action_._Begin();
            }
            return(false);
        }
 protected override void OnRewind()
 {
     action_._Rewind();
 }