#if AR_FOUNDATION_PRESENT || PACKAGE_DOCS_GENERATION
using System;
namespace UnityEngine.XR.Interaction.Toolkit.AR
{
public partial class TapGesture
{
#if !XRI_LEGACY_INPUT_DISABLED
///
/// (Deprecated) Initializes and returns an instance of .
///
/// The gesture recognizer.
/// The 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("TapGesture(TapGestureRecognizer, Touch) is marked for deprecation in XRI 3.2.0 and will be removed in a future version. Use TapGesture(TapGestureRecognizer, InputSystem.EnhancedTouch.Touch) instead.")]
public TapGesture(TapGestureRecognizer recognizer, Touch touch)
: this(recognizer, new CommonTouch(touch))
{
}
[Obsolete("Reinitialize(Touch) is marked for deprecation in XRI 3.2.0 and will be removed in a future version. Use Reinitialize(InputSystem.EnhancedTouch.Touch) instead.")]
internal void Reinitialize(Touch touch) => Reinitialize(new CommonTouch(touch));
#endif
}
}
#endif