タッチ数。そのフレームでは変更されないことが保証されています(読み取り専用)
function Update () {
if (Input.touchCount > 0) {
print(Input.touchCount);
}
}
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Update() { if (Input.touchCount > 0) print(Input.touchCount); } }