docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method DeleteSceneObject

    DeleteSceneObject(IUsesDeleteSceneObject, GameObject)

    Remove the game object from the scene

    Declaration
    public static void DeleteSceneObject(this IUsesDeleteSceneObject user, GameObject go)
    Parameters
    Type Name Description
    IUsesDeleteSceneObject user

    The functionality user

    GameObject go

    The game object to delete from the scene

    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)