docs.unity3d.com
    Show / Hide Table of Contents

    Class World

    Inheritance
    Object
    World
    Namespace: Unity.Entities
    Syntax
    public class World : IDisposable

    Constructors

    Name Description
    World(String, WorldFlags)
    World(String, WorldFlags, AllocatorManager.AllocatorHandle)

    Properties

    Name Description
    All
    DefaultGameObjectInjectionWorld
    EntityManager
    Flags
    IsCreated
    MaximumDeltaTime
    Name
    QuitUpdate
    SequenceNumber
    Systems
    Time
    TimeSingleton
    Unmanaged

    Gives access to the unmanaged data of an instance of the World. This is useful when your code needs to run with Burst.

    UpdateAllocator
    Version

    Methods

    Name Description
    AddSystem<T>(T)
    CreateSystem(Type)
    CreateSystem<T>()
    DestroyAllSystemsAndLogException()
    DestroySystem(ComponentSystemBase)
    Dispose()
    DisposeAllWorlds()
    GetExistingSystem(Type)
    GetExistingSystem<T>()
    GetOrCreateSystem(Type)
    GetOrCreateSystem<T>()
    GetOrCreateSystemsAndLogException(Type[])
    PopTime()
    PushTime(TimeData)
    SetTime(TimeData)
    ToString()
    Update()

    Extension Methods

    WorldExtensions.AddSystem<T>(World)
    WorldExtensions.GetExistingSystem<T>(World)
    WorldExtensions.GetOrCreateSystem<T>(World)
    WorldExtensions.GetOrCreateUnmanagedSystem(World, Type)
    WorldExtensions.DestroyUnmanagedSystem(World, SystemHandleUntyped)
    In This Article
    • Constructors
    • Properties
    • Methods
    • Extension Methods
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023