docs.unity.cn
    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)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023