docs.unity.cn
    Show / Hide Table of Contents

    Method GetExistingSystem

    GetExistingSystem<T>(World)

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

    Declaration
    public static SystemHandle GetExistingSystem<T>(this World self)
        where T : struct, ISystem
    Parameters
    Type Name Description
    World self

    The World

    Returns
    Type Description
    SystemHandle

    The existing system instance's handle of system type T in this World. If no such instance exists, the method returns SystemHandle.Null.

    Type Parameters
    Name Description
    T

    The system type

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