DestroyAllSystemsAndLogException
Destroy all system instances in the World. Any errors encountered during individual system destruction will be logged to the console.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
DestroyAllSystemsAndLogException()
Destroy all system instances in the World. Any errors encountered during individual system destruction will be logged to the console.
public void DestroyAllSystemsAndLogException()
DestroyAllSystemsAndLogException(bool)
Destroy all system instances in the World. Any errors encountered during individual system destruction will be logged to the console.
public void DestroyAllSystemsAndLogException(out bool loggedException)
Parameters
If one or more exceptions were logged while destroying systems, this value will be set to true. This allows callers to detect whether any errors were encountered. If no exceptions were logged, this value will be set to false.