docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct UniqueInputTickMap

    This singleton is used by code-gen. It stores a mapping of which ticks the client has changes to inputs so steps in the prediction loop can be batched when inputs are not changing.

    Implements
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.NetCode
    Assembly: Unity.NetCode.dll
    Syntax
    public struct UniqueInputTickMap : IComponentData, IQueryTypeParameter

    Fields

    Value

    The set of ticks where inputs were changed compared to the frame before it. The value is not used but usually set to the same tick as the key.

    Declaration
    public NativeParallelHashMap<NetworkTick, NetworkTick>.ParallelWriter Value
    Field Value
    Type Description
    NativeParallelHashMap<NetworkTick, NetworkTick>.ParallelWriter

    Implements

    Unity.Entities.IComponentData
    Unity.Entities.IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2025 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)