docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NativeListExt

    Provides Extension methods for the NativeList class

    Inheritance
    object
    NativeListExt
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Networking.Transport.Utilities
    Assembly: solution.dll
    Syntax
    public static class NativeListExt

    Methods

    Name Description
    ResizeUninitializedTillPowerOf2<T>(NativeList<T>, int)

    This function will make sure that sizeToFit can fit into list. If sizeToFit >= list's Length then list will be ResizeUninitialized to a new length. New Length will be the next highest power of 2 of sizeToFit

    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)