Beispiel #1
0
 public void kill()
 {
     if (!_nodeState.isKilled)
     {
         _nodeState.isKilled = true;
         CoroutineManager.KillCoroutine(ref _loadingInnerRoutine);
     }
 }
Beispiel #2
0
        public void kill()
        {
            if (!_nodeState.isKilled)
            {
                _nodeState.isKilled = true;

                var nodesCount = _nodes.Count;
                for (int index = 0; index < nodesCount; ++index)
                {
                    var node = _nodes[index] ?? EmptyWebNode.Instance;
                    node.kill();
                }

                CoroutineManager.KillCoroutine(ref _loadItemsRoutine);
            }
        }