Versions with this page:
Versions without this page:
触摸次数。保证在整个帧期间不会更改。(只读)
using UnityEngine; using System.Collections;public class ExampleClass : MonoBehaviour { void Update() { if (Input.touchCount > 0) print(Input.touchCount); } }