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