docs.unity.cn
    Show / Hide Table of Contents

    Method Update

    Update(ref SystemState)

    When a ComponentTypeHandle is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.

    Declaration
    public void Update(ref SystemState state)
    Parameters
    Type Name Description
    SystemState state

    The SystemState of the system on which this type handle is cached.

    Update(SystemBase)

    When a ComponentTypeHandle is cached by a system across multiple system updates, calling this function inside the system's OnUpdate() method performs the minimal incremental updates necessary to make the type handle safe to use.

    Declaration
    public void Update(SystemBase system)
    Parameters
    Type Name Description
    SystemBase system

    The system on which this type handle is cached.

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