EventDelegate.cs 700 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using UnityEngine;
  7. using UnityEngine.EventSystems;
  8. namespace SC.XR.Unity.Module_InputSystem.InputDeviceGC {
  9. /// <summary>
  10. /// Event 委托
  11. /// </summary>
  12. /// <param name="aEvent"></param>
  13. /// <param name="handShankPart"></param>
  14. public delegate void EventDelegate(GCEventType aEvent, InputDeviceGCPart GCPart);
  15. /// <summary>
  16. /// Event 委托
  17. /// </summary>
  18. /// <param name="aEvent"></param>
  19. /// <param name="handShankPart"></param>
  20. public delegate void EventDelegate<T>(GCEventType aEvent,T data, InputDeviceGCPart GCPart);
  21. }