public MaterialAnimation_Color(MaterialAnimator materialAnimator, Action onCompleteAction, UIAnimation_Base.TweenType tweenType, int propertyID, Color startColor, Color endColor, Color deltaColor, float duration, AnimationCurve easeCurve, LoopType loopType, int loopCount)
     : base(onCompleteAction, tweenType, startColor, endColor, deltaColor, duration, easeCurve, loopType, loopCount)
 {
     this.materialAnimator = materialAnimator;
     this.propertyID       = propertyID;
 }
 public MaterialAnimation_Float(MaterialAnimator materialAnimator, Action onCompleteAction, UIAnimation_Base.TweenType tweenType, int propertyID, float startValue, float endValue, float deltaValue, float duration, AnimationCurve easeCurve, LoopType loopType, int loopCount)
     : base(onCompleteAction, tweenType, startValue, endValue, deltaValue, duration, easeCurve, loopType, loopCount)
 {
     this.materialAnimator = materialAnimator;
     this.propertyID       = propertyID;
 }
        ///////////////////////////////////////////////////////////////////////////
        //
        // Inherited from MonoBehaviour
        //

        protected void Awake()
        {
            materialAnimator = GetComponent <MaterialAnimator> ();
        }