#if AR_FOUNDATION_PRESENT || PACKAGE_DOCS_GENERATION
using System;
namespace UnityEngine.XR.Interaction.Toolkit.AR
{
public partial class TwistGesture
{
#if !XRI_LEGACY_INPUT_DISABLED
///
/// (Deprecated) Initializes and returns an instance of .
///
/// The gesture recognizer.
/// The first touch that started this gesture.
/// The second touch that started this gesture.
///
/// This is deprecated for its reference to Input Manager Touch. Set active input handling to New Input System, and use InputSystem.EnhancedTouch.Touch instead.
///
[Obsolete("TwistGesture(DragGestureRecognizer, Touch, Touch) is marked for deprecation in XRI 3.2.0 and will be removed in a future version. Use TwistGesture(DragGestureRecognizer, InputSystem.EnhancedTouch.Touch, InputSystem.EnhancedTouch.Touch) instead.")]
public TwistGesture(TwistGestureRecognizer recognizer, Touch touch1, Touch touch2)
: this(recognizer, new CommonTouch(touch1), new CommonTouch(touch2))
{
}
[Obsolete("Reinitialize(Touch, Touch) is marked for deprecation in XRI 3.2.0 and will be removed in a future version. Use Reinitialize(InputSystem.EnhancedTouch.Touch, InputSystem.EnhancedTouch.Touch) instead.")]
internal void Reinitialize(Touch touch1, Touch touch2) => Reinitialize(new CommonTouch(touch1), new CommonTouch(touch2));
#endif
}
}
#endif