Class uiList<T> | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class uiList<T>

    Inheritance
    Object
    PoolObject
    uiList<T>
    Inherited Members
    PoolObject.activated_flag
    Namespace: Unity.UIWidgets.ui
    Syntax
    public class uiList<T> : PoolObject
    Type Parameters
    Name Description
    T

    Constructors

    uiList()

    Declaration
    public uiList()

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    Int32

    data

    Declaration
    public List<T> data { get; }
    Property Value
    Type Description
    List<T>

    Item[Int32]

    Declaration
    public T this[int index] { get; set; }
    Parameters
    Type Name Description
    Int32 index
    Property Value
    Type Description
    T

    Methods

    Add(T)

    Declaration
    public void Add(T item)
    Parameters
    Type Name Description
    T item

    AddRange(IList<T>)

    Declaration
    public void AddRange(IList<T> items)
    Parameters
    Type Name Description
    IList<T> items

    clear()

    Declaration
    public override void clear()
    Overrides
    PoolObject.clear()

    Clear()

    Declaration
    public void Clear()

    SetCapacity(Int32)

    Declaration
    public void SetCapacity(int capacity)
    Parameters
    Type Name Description
    Int32 capacity

    setup()

    Declaration
    public override void setup()
    Overrides
    PoolObject.setup()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023