{!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} Interface IInputEventHelper<T> | Netcode for Entities | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IInputEventHelper<T>

    Internal use only, interface implemented by code-generated helpers to increment and decrement IInputComponentData events when copy to/from the underlying InputBufferData<T>

    Namespace: Unity.NetCode
    Assembly: solution.dll
    Syntax
    public interface IInputEventHelper<T> where T : unmanaged, IInputComponentData
    Type Parameters
    Name Description
    T

    Methods

    Name Description
    DecrementEvents(ref T, in T)

    Take the stored input data we have and copy to the given input data pointed to. Decrement any event counters by the counter value in the previous command buffer data element.

    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.

    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)