コード例 #1
0
        protected override IBindingParameters GetBindingParameters()
        {
            if (m_isBusy == null)
            {
                return(null);
            }

            SetColorSetter();
            m_animation = new PropertyAnimationColor(m_color, m_duration, m_curve);
            m_animation.Initialize((m_useInitial) ? m_initialColor : m_color);
            return(this);
        }
コード例 #2
0
        protected override IBindingParameters GetBindingParameters()
        {
            if (m_setValueWithoutNotify == null)
            {
                return(null);
            }

            m_slider    = GetComponent <Slider>();
            m_animation = new PropertyAnimationFloat(m_value, m_duration, m_curve);
            m_animation.Initialize(m_slider.value);
            return(this);
        }
コード例 #3
0
        protected override IBindingParameters GetBindingParameters()
        {
            if (m_alpha == null)
            {
                return(null);
            }

            m_canvasGroup = GetComponent <CanvasGroup>();
            m_animation   = new PropertyAnimationFloat(m_alpha, m_duration, m_curve);
            m_animation.Initialize((m_useInitialValue) ? m_initialAlpha : m_alpha);
            return(this);
        }