IInputEventTypeInfo.cs 594 B

123456789101112131415
  1. using UnityEngine.InputSystem.Utilities;
  2. namespace UnityEngine.InputSystem.LowLevel
  3. {
  4. // Allows retrieving information about event types from an instance of the type.
  5. // As structs can always be default instantiated, this allows us to get data on the struct
  6. // from an instance of the struct without having to go through vtable dispatches.
  7. /// <summary>
  8. /// Interface implemented by all input event structs which reports the data format identifier of the command.
  9. /// </summary>
  10. public interface IInputEventTypeInfo
  11. {
  12. FourCC typeStatic { get; }
  13. }
  14. }