言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Input.touchCount

public static var touchCount: int;

Description

タッチ数。そのフレームでは変更されないことが保証されています (Read Only)

	function Update () {
		if (Input.touchCount > 0) {
			print(Input.touchCount);
		}
	}