Class ListExtensions | Collections | 0.3.0-preview.0
docs.unity.cn
    Show / Hide Table of Contents

    Class ListExtensions

    Inheritance
    Object
    ListExtensions
    Namespace: Unity.Collections
    Syntax
    public static class ListExtensions

    Methods

    RemoveAtSwapBack<T>(List<T>, Int32)

    Declaration
    public static void RemoveAtSwapBack<T>(this List<T> list, int index)
    Parameters
    Type Name Description
    List<T> list
    Int32 index
    Type Parameters
    Name Description
    T

    RemoveSwapBack<T>(List<T>, T)

    Declaration
    public static bool RemoveSwapBack<T>(this List<T> list, T item)
    Parameters
    Type Name Description
    List<T> list
    T item
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    T

    RemoveSwapBack<T>(List<T>, Predicate<T>)

    Declaration
    public static bool RemoveSwapBack<T>(this List<T> list, Predicate<T> matcher)
    Parameters
    Type Name Description
    List<T> list
    Predicate<T> matcher
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX