Ejemplo n.º 1
0
        private void Proceed()
        {
            Stop();

            _currentUnitAction             = GenerateUnitAction();
            _currentUnitAction.OnComplete += Proceed;
            _heavyActionDistributor.InvokeDistributed(_currentUnitAction.Start);
        }
Ejemplo n.º 2
0
        public void Execute()
        {
            int len = _heavyActionsBunches.Count;

            for (int i = 0; i < len; i++)
            {
                _heavyActionDistributor.InvokeDistributed(_heavyActionsBunches[i].Execute);
            }
        }