docs.unity.cn
    Show / Hide Table of Contents

    Class WorldExtensions

    Variants of World methods that support unmanaged systems (ISystems)

    Inheritance
    Object
    WorldExtensions
    Namespace: Unity.Entities
    Syntax
    public static class WorldExtensions

    Methods

    Name Description
    AddSystem<T>(World)

    Obsolete. Use CreateSystem<T>() instead.

    CreateSystem<T>(World)

    Create and return a handle for an instance of a system of type T in this World.

    DestroySystem(World, SystemHandle)

    Obsolete. Use DestroySystem(SystemHandle) instead.

    DestroyUnmanagedSystem(World, SystemHandle)

    Obsolete. Use DestroySystem(SystemHandle) instead.

    GetExistingSystem<T>(World)

    Return an existing handle for an instance of a system of type T in this World.

    GetOrCreateSystem(World, Type)

    Obsolete. Use GetOrCreateSystem(Type) instead.

    GetOrCreateSystem<T>(World)

    Retrieve the handle for an instance of a system of type T from the current World. If the system does not exist in this World, it will first be created.

    GetOrCreateUnmanagedSystem(World, Type)

    Obsolete. Use GetOrCreateSystem(Type) instead.

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