docs.unity.cn
    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.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    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.ParallelWriter<>
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, August 10, 2023