// TODO: implement me: loop(times, forever, yoyo) // notice: looping needs to take into account that some duration might have passed in the // new iteration public TweenManager(ITweenTimeline timeline, TweenTime time, Loop looping, string context, bool stopIfDestroyed = false) { this.timeline = timeline; this.time = time; this.looping = looping; this.context = context; this.stopIfDestroyed = stopIfDestroyed; }
public static TweenManager managed( this ITweenTimeline timeline, TweenTime time = TweenTime.OnUpdate, [CallerMemberName] string callerMemberName = "", [CallerFilePath] string callerFilePath = "", [CallerLineNumber] int callerLineNumber = 0 ) => new TweenManager( timeline, time, TweenManager.Loop.single, createContext(callerMemberName, callerFilePath, callerLineNumber) );
// TODO: implement me: loop(times, forever, yoyo) // notice: looping needs to take into account that some duration might have passed in the // new iteration public TweenManager(ITweenTimeline timeline, TweenTime time, Loop looping) { this.timeline = timeline; this.time = time; this.looping = looping; }
public static TweenManager managed( this ITweenTimeline timeline, TweenManager.Loop looping, TweenTime time = TweenTime.OnUpdate ) => new TweenManager(timeline, time, looping);