IDevicePartCountManipulation.cs 715 B

12345678910111213141516
  1. using SC.XR.Unity.Module_InputSystem;
  2. using System;
  3. using System.Collections;
  4. using System.Collections.Generic;
  5. using UnityEngine;
  6. /// <summary>
  7. /// OneDevicePartCountManipulation:单个设备交互(头,单手柄,单手)
  8. /// TwoDevicePartCountManipulation:两个设备交互(双手柄,双手)
  9. /// </summary>
  10. public interface IDevicePartCountManipulation
  11. {
  12. void Init(ManipulationHandler manipulationHandler, IDevicePartManipulation devicePartManipulation, Dictionary<InputDevicePartType, SCPointEventData> eventDataDic, Transform targetTransform, MoveLogic moveLogic, RotateLogic rotateLogic, ScaleLogic scaleLogic);
  13. Tuple<Vector3, Quaternion, Vector3> Update(Func<Vector3, Vector3> scaleConstraint);
  14. }