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

            base.Reset();
        }
示例#4
0
        public static TweenColor Color(GameObject owner, float duration)
        {
            var tween = new TweenColor(owner, duration);

            return(tween);
        }