Enum WorldFlags | Entities | 0.16.0-preview.21
docs.unity.cn
    Show / Hide Table of Contents

    Enum WorldFlags

    Specify all traits a World can have.

    Namespace: Unity.Entities
    Syntax
    [Flags]
    public enum WorldFlags : byte

    Fields

    Name Description Value
    None

    Default WorldFlags value.

    0
    Live

    The main World for a game/application. This flag is combined with Editor, Game and Simulation.

    1
    Editor

    Main Live World running in the Editor.

    3
    Game

    Main Live World running in the Player.

    5
    Simulation

    Any additional Live World running in the application for background processes that queue up data for other Live World (ie. physics, AI simulation, networking, etc.).

    9
    Conversion

    World on which conversion systems run to transform authoring data to runtime data.

    16
    Staging

    World in which temporary results are staged before being moved into a Live World. Typically combined with Conversion to represent an intermediate step in the full conversion process.

    32
    Shadow

    World representing a previous state of another World typically to compute a diff of runtime data - for example useful for undo/redo or Live Link.

    64
    Streaming

    Dedicated World for managing incoming streamed data to the Player.

    128
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 30 October 2020