No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ExtendedAxisEventData.cs 557B

123456789101112131415161718192021
  1. #if PACKAGE_DOCS_GENERATION || UNITY_INPUT_SYSTEM_ENABLE_UI
  2. using UnityEngine.EventSystems;
  3. namespace UnityEngine.InputSystem.UI
  4. {
  5. // AxisEventData has no ToString. But that's the only thing we add so keeping
  6. // it internal.
  7. internal class ExtendedAxisEventData : AxisEventData
  8. {
  9. public ExtendedAxisEventData(EventSystem eventSystem)
  10. : base(eventSystem)
  11. {
  12. }
  13. public override string ToString()
  14. {
  15. return $"MoveDir: {moveDir}\nMoveVector: {moveVector}";
  16. }
  17. }
  18. }
  19. #endif