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