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 © 2022 Unity Technologies
    Generated by DocFX
    on 04 August 2022
    Terms of use