Version: 2022.3

TouchPhase

enumeration

切换到手册

描述

Indicates where in its lifecycle a given touch is.

变量

BeganA touch has begun. Only the first touch event in any given touch will have this phase.
MovedA touch has changed position.
EndedA touch has ended. Only the last touch event in a given touch will have this phase.
CanceledA touch has ended in a way other than through user interaction.
StationaryA touch has not moved.