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 © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021