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
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