Exemplo n.º 1
0
            public Action Handle()
            {
                LoopAction self = this;

                return(() =>
                {
                    self.action();
                    ScheduleManager.Schedule(self.time, self.Handle());
                });
            }
Exemplo n.º 2
0
        public static void ScheduleInLoop(float timer, Action action)
        {
            LoopAction loop = new LoopAction(timer, action);

            Schedule(timer, loop.Handle());
        }