docs.unity.cn
    Show / Hide Table of Contents

    Method OnDestroy

    OnDestroy()

    Destroys this system, executing any pending command buffers first.

    Declaration
    protected override void OnDestroy()
    Overrides
    ComponentSystemBase.OnDestroy()
    Remarks

    If you override this method, you should call base.OnDestroy() to retain the default destruction logic.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023