docs.unity.cn
    Show / Hide Table of Contents

    Class PostLoadCommandBuffer

    Component that contains an EntityCommandBuffer, which is used to execute commands after a scene is loaded.

    Inheritance
    Object
    PostLoadCommandBuffer
    Namespace: Unity.Entities
    Syntax
    public class PostLoadCommandBuffer : IComponentData, IQueryTypeParameter, IDisposable, ICloneable
    Remarks

    This component includes a reference counter. When the reference counter is equal to 0, the CommandBuffer is disposed of.

    Constructors

    Name Description
    PostLoadCommandBuffer()

    Initializes and returns an instance of PostLoadCommandBuffer.

    Fields

    Name Description
    CommandBuffer

    Represents an EntityCommandBuffer.

    Methods

    Name Description
    Clone()

    Increments the reference counter and returns a reference to the component.

    Dispose()

    Decrements the reference counter. When the reference counter reaches 0, the CommandBuffer is disposed.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023