Ejemplo n.º 1
0
        public TextInputFieldBuilder Animation(Color idle, Color highlighted, Color clicked, Color?toggled = null, float transition = 0.333f)
        {
            textInputField.RemoveComponentsOfType <UIColorAnimator>();

            UIColorAnimator animator = new UIColorAnimator(textInputField.Background);

            textInputField.AddComponent(animator);
            animator.Configure(idle, highlighted, clicked, toggled, transition);
            return(this);
        }