docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method RemoveDestroyedObjects

    RemoveDestroyedObjects<T>(List<T>)

    Removes any destroyed UnityObjects from a list.

    Declaration
    public static void RemoveDestroyedObjects<T>(List<T> list) where T : Object
    Parameters
    Type Name Description
    List<T> list

    A list of UnityObjects that may contain destroyed objects.

    Type Parameters
    Name Description
    T

    The specific type of UnityObject in the dictionary.

    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)