Exemplo n.º 1
0
 public void Release()
 {
     IdValue        = 0;
     rootEnumerator = null;
     current        = null;
     SetTaskState(RoutineState.Complete);
     awaiters.Clear();
     lifeTimeDefinition.Terminate();
 }
Exemplo n.º 2
0
        public void Dispose()
        {
            foreach (var systemInfo in _systems)
            {
                DestroySystem(systemInfo);
            }

            _updateQueues.Clear();
            _systems.Clear();
            _lifeTime.Terminate();
        }
Exemplo n.º 3
0
        public void Exit()
        {
            if (!IsActive)
            {
                return;
            }

            SetStatus(StateStatus.Disable);

            OnExit(_contextData);

            _lifeTime.Terminate();
        }
Exemplo n.º 4
0
 protected override void OnDestroy()
 {
     _lifeTimeDefinition.Terminate();
     base.OnDestroy();
 }
 /// <summary>
 /// terminate game view system lifetime
 /// </summary>
 public void Dispose() => _lifeTimeDefinition.Terminate();
Exemplo n.º 6
0
 public void Dispose() => _lifeTime.Terminate();
Exemplo n.º 7
0
 /// <summary>
 /// terminate Port lifetime, release resources
 /// </summary>
 public void Release() => lifeTimeDefinition.Terminate();
Exemplo n.º 8
0
 protected void OnDestroy()
 {
     _lifeTime.Terminate();
     NodeViewProcessor.Asset.Remove(this);
 }
 private void OnDisable()
 {
     lifeTimeDefinition.Terminate();
 }
Exemplo n.º 10
0
 public void Dispose()
 {
     _lateUpdateRoutines.Clear();
     StopAllCoroutines();
     _lifeTime.Terminate();
 }
Exemplo n.º 11
0
 /// <summary>
 /// stop execution
 /// </summary>
 public void Exit()
 {
     _lifeTime.Terminate();
     _isActive = false;
 }
Exemplo n.º 12
0
 public void Exit()
 {
     lifeTimeDefinition.Terminate();
 }
Exemplo n.º 13
0
 /// <summary>
 /// complete view lifetime immediately
 /// </summary>
 public void Destroy() => _lifeTimeDefinition.Terminate();
 protected override void OnActivate()
 {
     _atlasesLifetime = new LifeTimeDefinition();
     _lifeTimeDefinition.AddCleanUpAction(() => _atlasesLifetime.Terminate());
 }