top of page

TOSHICHAN
Unityでスクリプト&簡単な実装サイト
指が画面に触れているが動いてはいないとき
if(Input.touchCount > 0)
{
foreach(Touch t in Input.touches)
{
if (t.phase != TouchPhase.Stationary)
{
//指が画面に触れているが動いてはいないとき
}
}
}
bottom of page