Beispiel #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);
        }
Beispiel #2
0
 public override Action Clone()
 {
     return(FadeTo.Create(duration, toOpacity));
 }
Beispiel #3
0
 public void SetReverseAction(FadeTo ac)
 {
     reverseAction = ac;
 }