InputDevicePartDispatchEventHand.cs 1.1 KB

12345678910111213141516171819202122232425
  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. namespace SC.XR.Unity.Module_InputSystem.InputDeviceHand {
  8. public class InputDevicePartDispatchEventHand : InputDevicePartDispatchEventBase {
  9. public InputDeviceHandPart inputDeviceHandPart;
  10. public InputDeviceHandPartCatchEvent inputDeviceHandPartCatchEvent;
  11. public InputDeviceHandPartLeftRightEvent inputDeviceHandPartLeftRightEvent;
  12. public InputDeviceHandPartTurnLeftRightEvent inputDeviceHandPartTurnLeftRightEvent;
  13. public InputDevicePartDispatchEventHand(InputDeviceHandPart inputDeviceHandPart) : base(inputDeviceHandPart) {
  14. this.inputDeviceHandPart = inputDeviceHandPart;
  15. eventList.Add(inputDeviceHandPartCatchEvent = new InputDeviceHandPartCatchEvent(this));
  16. //eventList.Add(inputDeviceHandPartLeftRightEvent = new InputDeviceHandPartLeftRightEvent(this));
  17. //eventList.Add(inputDeviceHandPartTurnLeftRightEvent = new InputDeviceHandPartTurnLeftRightEvent(this));
  18. }
  19. }
  20. }