docs.unity.cn
    Show / Hide Table of Contents

    Class FixedRateUtils

    Inheritance
    Object
    FixedRateUtils
    Namespace: Unity.Entities
    Syntax
    public static class FixedRateUtils : object

    Methods

    Name Description
    DisableFixedRate(ComponentSystemGroup)

    Disable fixed rate updates on the given group, by setting the UpdateCallback to null.

    EnableFixedRateSimple(ComponentSystemGroup, Single)

    Configure the given ComponentSystemGroup to update at a specific fixed rate, using the provided timestep. The group will always be ticked exactly once, and the delta time during that update will be the given timestep. The group's elapsed time clock will drift from actual elapsed wall clock time.

    EnableFixedRateWithCatchUp(ComponentSystemGroup, Single)

    Configure the given ComponentSystemGroup to update at a specific fixed rate, using the provided timestep. If the interval between the current time and the last update is bigger than the timestep, the group's systems will be updated more than once.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021