AbstractDevicePartCountManipulation.cs 747 B

1234567891011121314151617
  1. using SC.XR.Unity.Module_InputSystem;
  2. using System;
  3. using System.Collections;
  4. using System.Collections.Generic;
  5. using UnityEngine;
  6. public abstract class AbstractDevicePartCountManipulation : IDevicePartCountManipulation
  7. {
  8. protected IDevicePartManipulation devicePartManipulation;
  9. public virtual void Init(ManipulationHandler manipulationHandler, IDevicePartManipulation devicePartManipulation, Dictionary<InputDevicePartType, SCPointEventData> eventDataDic, Transform targetTransform, MoveLogic moveLogic, RotateLogic rotateLogic, ScaleLogic scaleLogic)
  10. {
  11. this.devicePartManipulation = devicePartManipulation;
  12. }
  13. public abstract Tuple<Vector3, Quaternion, Vector3> Update(Func<Vector3, Vector3> scaleConstraint);
  14. }