Interface IInputInteraction<TValue>
Identical to IInputInteraction except that it allows an interaction to explicitly advertise the value it expects.
Namespace: UnityEngine.InputSystem
Assembly: Unity.InputSystem.dll
Syntax
public interface IInputInteraction<TValue> : IInputInteraction where TValue : struct
Type Parameters
Name | Description |
---|---|
TValue | Type of values expected by the interaction |
Remarks
Advertising the value type will an interaction type to be filtered out in the UI if the value type it has is not compatible with the value type expected by the action.
In all other ways, this interface is identical to IInputInteraction.