public override void OnInspectorGUI()
        {
            serializedObject.Update();

            //Target
            myUIColorAnimation = ((UIColorAnimation)target);
            myUIAnimation      = myUIColorAnimation;

            /////Sequence/////
            GUILayout.Space(SECTION_SPACE);
            DrawSequence();

            //////Value/////
            GUILayout.Space(SECTION_SPACE);
            DrawValues();

            /////Ease////
            GUILayout.Space(SECTION_SPACE);
            DrawEase();

            /////Curve/////
            DrawCurve();

            /////Apply/////
            ApplyValues();
        }
 protected void DrawAddAnimationButtons()
 {
     GUILayout.Space(SECTION_SPACE);
     foreach (UIColorAnimation.ColorAnimationType animationType in Enum.GetValues(typeof(UIColorAnimation.ColorAnimationType)))
     {
         if (GUILayout.Button("Add " + animationType + " Animation"))
         {
             for (int i = 0; i < targets.Length; ++i)
             {
                 UIColorAnimation newUIAnimation = ((UIAnimator)targets [i]).gameObject.AddComponent <UIColorAnimation> ();
                 newUIAnimation.animationType = animationType;
             }
         }
     }
 }