OnDestroy()
Destroys this system. Any pending command buffers will be disposed, but their commands will NOT be played back.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
protected override void OnDestroy()
Remarks
If you override this method, you should call to retain the default destruction logic.
base.OnDestroy()