所属API
monoBehavior || input
代码块
语法
public static Touch GetTouch(int index);
index标志触控次数,比如说,用户有多次手势触控,则用index区分,利用index分别对不同时候的手势进行事件响应。
作用
Returns object representing status of a specific touch. (Does not allocate temporary variables).
返回值
一个Touch结构体.
As an example the Touch returned with the pressure.