Cascade.ColorManager.Update C# (CSharp) Method

Update() public method

public Update ( ) : void
return void
        public virtual void Update()
        {
            if (animating)
            {
                if (animationState == 0)
                {
                    aniColor = MyMath.Between(col, aniColorTarget, (float)frame / (float)animationFrames);
                    frame++;
                    if (frame > animationFrames)
                    {
                        animationState = 1;
                    }
                }
                else if (animationState == 1)
                {
                    aniColor = MyMath.Between(col, aniColorTarget, (float)frame / (float)animationFrames);
                    frame--;
                    if (frame < 0)
                    {
                        animating = false;
                    }
                }
            }
        }
        public virtual void Animate(Color target, int frames)