TapGestureRecognizerComponentScript Fields |
The TapGestureRecognizerComponentScript type exposes the following members.
Name | Description | |
---|---|---|
AllowSimultaneousExecutionWith | Gesture components to allow simultaneous execution with. By default, gestures cannot execute together. (Inherited from GestureRecognizerComponentScriptT.) | |
AllowSimultaneousExecutionWithAllGestures | Whether to allow the gesture to execute simultaneously with all other gestures. (Inherited from GestureRecognizerComponentScriptT.) | |
ClearTrackedTouchesOnEndOrFail | Whether tracked touches are cleared when the gesture ends or fails, default is false. By setting to true, you allow the gesture to possibly execute again with a different touch even if the original touch it failed on is still on-going. This is a special case, so be sure to watch for problems if you set this to true, as leaving it false ensures the most correct behavior, especially with lots of gestures at once. (Inherited from GestureRecognizerComponentScriptT.) | |
GestureStateUpdated | Gesture state updated callback (Inherited from GestureRecognizerComponentScriptT.) | |
GestureView | The game object the gesture must execute over, null to allow the gesture to execute anywhere. (Inherited from GestureRecognizerComponentScriptT.) | |
MaximumNumberOfTouchesToTrack | The maximum number of touches to track. This gesture will never track more touches than this. Default is usually 1 or 2. Not all gestures will honor values higher than 1. (Inherited from GestureRecognizerComponentScriptT.) | |
MinimumNumberOfTouchesToTrack | The minimum number of touches to track. This gesture will not start unless this many touches are tracked. Default is usually 1 or 2. Not all gestures will honor values higher than 1. (Inherited from GestureRecognizerComponentScriptT.) | |
NumberOfTapsRequired | How many taps must execute in order to end the gesture | |
RequireGestureRecognizersToFail | The gesture recognizers that should be required to fail (Inherited from GestureRecognizerComponentScriptT.) | |
SendBeginState | Whether the tap gesture will immediately send a begin state when a touch is first down. Default is false. | |
ThresholdSeconds | How many seconds can expire before the tap is released to still count as a tap | |
ThresholdUnits | How many units away the tap down and up and subsequent taps can be to still be considered - must be greater than 0. |