Ejemplo n.º 1
0
 public NTweenParam onLoopComplete(NTweenCallback callback, object payload = null)
 {
     param.Add("onLoopComplete", callback);
     if (payload != null)
     {
         param.Add("onLoopCompleteParams", payload);
     }
     return(this);
 }
Ejemplo n.º 2
0
 public NTweenParam onStart(NTweenCallback callback, object payload = null)
 {
     param.Add("onStart", callback);
     if (payload != null)
     {
         param.Add("onStartParams", payload);
     }
     return(this);
 }
Ejemplo n.º 3
0
 public static NTween delayedCall(float delay, NTweenCallback callback, object args = null, bool useFrames = false)
 {
     return(NewNTween(callback.Target, 0, Hash("delay", delay, "onComplete", callback, "onCompleteParams", args, "useFrames", useFrames, "overwrite", 0)));
 }