using SC.XR.Unity.Module_InputSystem; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class OneDevicePartCountManipulation : AbstractDevicePartCountManipulation { public override void Init(ManipulationHandler manipulationHandler, IDevicePartManipulation devicePartManipulation, Dictionary eventDataDic, Transform targetTransform, MoveLogic moveLogic, RotateLogic rotateLogic, ScaleLogic scaleLogic) { base.Init(manipulationHandler, devicePartManipulation, eventDataDic, targetTransform, moveLogic, rotateLogic, scaleLogic); this.devicePartManipulation.OneDevicePartInit(manipulationHandler, eventDataDic, targetTransform, moveLogic, rotateLogic, scaleLogic); } public override Tuple Update(Func scaleConstraint) { return devicePartManipulation.OneDevicePartUpdate(); } }