文档

Unity Engine

Unity Engine

TouchPhase

Indicates where in its lifecycle a given touch is.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum TouchPhase

Fields

Value

Description

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