DestroyAllSystemsAndLogException
Destroy all system instances in the World. Any errors encountered during individual system destruction will be logged to the console.
阅读时间1 分钟最后更新于 20 天前
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.