示例#1
0
        void ITick.Tick(Actor self)
        {
            var baseSequence = wsb.NormalizeSequence(self, wsb.Info.Sequence);
            var sequence     = NormalizeHarvesterSequence(self, baseSequence);

            if (!IsModifying && wsb.DefaultAnimation.HasSequence(sequence) && wsb.DefaultAnimation.CurrentSequence.Name != sequence)
            {
                wsb.DefaultAnimation.ReplaceAnim(sequence);
            }
        }