///////////////////////////////////////////////////////////////////////////
        //
        // Inherited from UIAnimation
        //

        /// <summary>
        /// Sets the start values.
        /// </summary>
        public override void SetStartValues()
        {
            switch (animationType)
            {
            case AnimationType.Color:
                materialAnimator.SetColorValue(colorData.startColor, colorData.propertyName);
                break;

            case AnimationType.Float:
                materialAnimator.SetFloatValue(floatData.startValue, floatData.propertyName);
                break;
            }
        }
 public override void UpdateAnimation()
 {
     currentValue = GetEasedValue();
     materialAnimator.SetFloatValue(currentValue, propertyID);
 }