public static TweenActionDriver <TState> Prepare(TState state, TweenOptions options) { TweenActionDriver <TState> driver = _pool.Request(); driver.Prepare(state, options, _tokenAllocator.Next()); Trace.TraceAllocation(driver); return(driver); }
public static TweenOperation Prepare(TState state, TweenOptions options) { var driver = TweenActionDriver <TState> .Prepare(state, options); return(new TweenOperation(driver)); }