docs.unity3d.com
    Show / Hide Table of Contents

    Method EnableFixedRateSimple

    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.

    Declaration
    public static void EnableFixedRateSimple(ComponentSystemGroup group, float timestep)
    Parameters
    Type Name Description
    ComponentSystemGroup group

    The group whose UpdateCallback will be configured with a fixed timestep update call

    Single timestep

    The duration of each fixed timestep (in seconds). The timestep valuewill be clamped to the range [0.0001f ... 10.0f].

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023