docs.unity.cn
    Show / Hide Table of Contents

    Enum PlaybackPolicy

    Specifies if the EntityCommandBuffer can be played a single time or multiple times.

    Namespace: Unity.Entities
    Syntax
    public enum PlaybackPolicy

    Fields

    Name Description Value
    SinglePlayback

    The EntityCommandBuffer can only be played once. After a first playback, the EntityCommandBuffer must be disposed.


    0
    MultiPlayback

    The EntityCommandBuffer can be played back more than once.


    Even though the EntityCommandBuffer can be played back more than once, no commands can be added after the first playback.

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