NRExecutePointerEvents.cs 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /****************************************************************************
  2. * Copyright 2019 Nreal Techonology Limited. All rights reserved.
  3. *
  4. * This file is part of NRSDK.
  5. *
  6. * https://www.nreal.ai/
  7. *
  8. *****************************************************************************/
  9. namespace NRKernal
  10. {
  11. using UnityEngine;
  12. using UnityEngine.EventSystems;
  13. /// <summary> A nr execute pointer events. </summary>
  14. public class NRExecutePointerEvents
  15. {
  16. /// <summary> The press enter handler. </summary>
  17. public static readonly ExecuteEvents.EventFunction<IEventSystemHandler> PressEnterHandler = ExecuteEnter;
  18. /// <summary> Executes the 'enter' operation. </summary>
  19. /// <param name="handler"> The handler.</param>
  20. /// <param name="eventData"> Information describing the event.</param>
  21. private static void ExecuteEnter(IEventSystemHandler handler, BaseEventData eventData)
  22. {
  23. }
  24. /// <summary> The press exit handler. </summary>
  25. public static readonly ExecuteEvents.EventFunction<IEventSystemHandler> PressExitHandler = ExecuteExit;
  26. /// <summary> Executes the 'exit' operation. </summary>
  27. /// <param name="handler"> The handler.</param>
  28. /// <param name="eventData"> Information describing the event.</param>
  29. private static void ExecuteExit(IEventSystemHandler handler, BaseEventData eventData)
  30. {
  31. }
  32. }
  33. }