Touch.tapCount

public int tapCount;

Description

Number of taps.

This is intended as a way to detect "double-clicks", etc, from the finger in a particular position. In some circumstances, two fingers may be tapped alternately and this may incorrectly register as a single finger tapping and simultaneously moving.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答