if (Input.touchCount > 0) { Touch touch = Input.GetTouch(0); if(touch.phase == TouchPhase.Began) { // タッチ開始 } else if (touch.phase == TouchPhase.Moved) { // タッチ移動 } else if (touch.phase == TouchPhase.Ended) { // タッチ終了 } } public static class AppUtil { private static Vector3 TouchPosition = Vector3.zero; /// <summary> /// タッチ情報を取得(エディタと実機を考慮) /// </summary> /// <returns>タッチ情報。タッチされていない場合は null</ret
