docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method IncrementEvents

    IncrementEvents(ref T, in T)

    Save the input data with any event counters incremented by the counter from the last stored input in the command buffer for the current tick. See InputEvent.

    Declaration
    void IncrementEvents(ref T inputData, in T lastInputData)
    Parameters
    Type Name Description
    T inputData

    Pointer to input data to be saved in this command data

    T lastInputData

    Pointer to the last command data in the buffer

    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)