Method OnDestroy
OnDestroy(ref SystemState)
Callback invoked when the system is destroyed.
Declaration
[BurstCompile]
public void OnDestroy(ref SystemState state)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemState | state | The entity system state. |
{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end}