docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WorldExtensions

    Variants of World methods that support unmanaged systems (ISystems)

    Inheritance
    object
    WorldExtensions
    Namespace: Unity.Entities
    Assembly: solution.dll
    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.

    In This Article
    • Methods
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)