Beispiel #1
0
        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);
        }
Beispiel #2
0
        public static TweenOperation Prepare(TState state, TweenOptions options)
        {
            var driver = TweenActionDriver <TState> .Prepare(state, options);

            return(new TweenOperation(driver));
        }