1234567891011121314151617181920212223242526272829303132333435363738 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using UnityEngine;
- namespace SC.XR.Unity.Module_InputSystem.InputDeviceHand {
- public class InputDevicePartDispatchEventHand : InputDevicePartDispatchEventBase {
- public InputDeviceHandPart inputDeviceHandPart;
- public InputDeviceHandPartCatchEvent inputDeviceHandPartCatchEvent;
- public InputDeviceHandPartLeftRightEvent inputDeviceHandPartLeftRightEvent;
- public InputDeviceHandPartTurnLeftRightEvent inputDeviceHandPartTurnLeftRightEvent;
- public InputDeviceHandPartFaceHead inputDeviceHandPartFaceHead;
- public InputDeviceHandPartFaceFlatHead inputDeviceHandPartFaceFlatHead;
- public InputDeviceHandPartStaticEvent inputDeviceHandPartStaticEvent;
- public InputDeviceHandPartDynamicClickEvent inputDeviceHandPartDynamicClickEvent;
- public InputDeviceHandPartDynamicOpenEvent inputDeviceHandPartDynamicOpeenEvent;
- public InputDeviceHandPartDynamicFlipEvent inputDeviceHandPartDynamicFlipEvent;
- public InputDevicePartDispatchEventHand(InputDeviceHandPart inputDeviceHandPart) : base(inputDeviceHandPart) {
- this.inputDeviceHandPart = inputDeviceHandPart;
- eventList.Add(inputDeviceHandPartStaticEvent = new InputDeviceHandPartStaticEvent(this));
- eventList.Add(inputDeviceHandPartDynamicClickEvent = new InputDeviceHandPartDynamicClickEvent(this));
- eventList.Add(inputDeviceHandPartDynamicOpeenEvent = new InputDeviceHandPartDynamicOpenEvent(this));
- eventList.Add(inputDeviceHandPartDynamicFlipEvent = new InputDeviceHandPartDynamicFlipEvent(this));
- eventList.Add(inputDeviceHandPartCatchEvent = new InputDeviceHandPartCatchEvent(this));
- eventList.Add(inputDeviceHandPartFaceHead = new InputDeviceHandPartFaceHead(this));
- eventList.Add(inputDeviceHandPartFaceFlatHead = new InputDeviceHandPartFaceFlatHead(this));
- //eventList.Add(inputDeviceHandPartFaceHeadCatch = new InputDeviceHandPartFaceHeadCatch(this));
- //eventList.Add(inputDeviceHandPartLeftRightEvent = new InputDeviceHandPartLeftRightEvent(this));
- //eventList.Add(inputDeviceHandPartTurnLeftRightEvent = new InputDeviceHandPartTurnLeftRightEvent(this));
- }
- }
- }
|