{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Constructor VariableRateManager | Entities | 1.2.0-exp.3
docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Constructor VariableRateManager

    VariableRateManager(uint, bool)

    Construct a RateUtils.VariableRateManager with a given Millisecond update rate.

    Declaration
    public VariableRateManager(uint updateRateInMS = 66, bool pushToWorld = true)
    Parameters
    Type Name Description
    uint updateRateInMS

    The update rate for the manager in Milliseconds, if the value is less then MinUpdateRateMS it will be set to it.

    bool pushToWorld

    Should TimeData be pushed onto the world? If systems inside of this group do not require the use of the Time, a minor performance gain can be made setting this to false.

    Remarks

    Utilizes an accumulator where when it exceeds the indicated tick count, triggers the update and resets the counter.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)