docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PhysicsDestroy

    PhysicsDestroy(GameObject)

    Destroys an object and waits one physics frame.

    Declaration
    protected static IEnumerator PhysicsDestroy(GameObject go)
    Parameters
    Type Name Description
    GameObject go

    GameObject to destroy.

    Returns
    Type Description
    IEnumerator
    In This Article
    Back to top
    Copyright © 2023 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)