Exemplo n.º 1
0
 internal override float GetValue()
 {
     return(TweenColor.GetSourceColor(owner_, source_type_, named_color_value_).a);
 }
Exemplo n.º 2
0
 public static TweenColor SetNamedColorValue(this TweenColor tween, string named_color_value)
 {
     tween.namedColorValue = named_color_value;
     return(tween);
 }
Exemplo n.º 3
0
        internal override void Reset()
        {
            source_type_ = TweenColor.GetSourceType(owner_);

            base.Reset();
        }
Exemplo n.º 4
0
        public static TweenColor Color(GameObject owner, float duration)
        {
            var tween = new TweenColor(owner, duration);

            return(tween);
        }