Example #1
0
        public static FadeTo Create(float d, float opacity, IColorAttrCatcher attrCatcher = null)
        {
            FadeTo action = new FadeTo();

            if (action != null && action.InitWithDuration(d, opacity, attrCatcher))
            {
                return(action);
            }
            return(null);
        }
Example #2
0
 public override Action Clone()
 {
     return(FadeTo.Create(duration, toOpacity));
 }
Example #3
0
 public void SetReverseAction(FadeTo ac)
 {
     reverseAction = ac;
 }