Beispiel #1
0
        /// <summary>
        /// Delays the routine by the given number of seconds.
        /// </summary>
        public Routine DelayBy(float inSeconds)
        {
            Manager m = Manager.Get();

            if (m != null)
            {
                Fiber fiber = m.Fibers[this];
                if (fiber != null)
                {
                    fiber.AddDelay(inSeconds);
                }
            }
            return(this);
        }