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)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use