docs.unity.cn
    Show / Hide Table of Contents

    Method RequireSingletonForUpdate

    RequireSingletonForUpdate<T>()

    Require that a specific singleton component exist for this system to run.

    Declaration
    public void RequireSingletonForUpdate<T>()
    Type Parameters
    Name Description
    T

    The IComponentData subtype of the singleton component.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use