{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Dynamic buffer components | Entities | 1.2.0-exp.3
docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Dynamic buffer components

    A dynamic buffer component is a component that acts as a resizable array.

    Topic Description
    Introducing dynamic buffer components Understand dynamic buffer components and their use cases.
    Create a dynamic buffer component Create a new dynamic buffer component to use in your application.
    Access all dynamic buffers in a chunk Use a BufferAccessor<T> to get all dynamic buffers of a particular type in a chunk.
    Reuse a dynamic buffer for multiple entities Access a dynamic buffer on the main thread and use it's data for multiple entities.
    Access dynamic buffers from jobs Create a BufferLookup lookup to access dynamic buffers when not on the main thread.
    Modify dynamic buffers with an EntityCommandBuffer Use an EntityCommandBuffer to defer dynamic buffer modifications.
    Reinterpret a dynamic buffer Reinterpret the contents of a dynamic buffer as another type.
    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)