docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    Implements
    ISystem.OnDestroy(ref SystemState)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)