This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class studyScript : MonoBehaviour { | |
| Test test; | |
| // Use this for initialization | |
| void Start () { | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class cubeScript : MonoBehaviour | |
| { | |
| // Use this for initialization | |
| void Start () | |
| { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class studyScript : MonoBehaviour { | |
| Test test; | |
| // Use this for initialization | |
| void Start () { | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| public class cubeScript : MonoBehaviour | |
| { | |
| public void bigsize () | |
| { | |
| this.transform.localScale = new Vector3 (3.0f, 3.0f, 3.0f); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.UI; | |
| public class SwipeDetector : MonoBehaviour | |
| { | |
| public float minSwipeDistY; | |
| public float minSwipeDistX; | |
| private Vector2 startPos; | |
| private GameObject text; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine.UI; | |
| public class TimeAttackModeManager : MonoBehaviour | |
| { | |
| private GameObject timer; | |
| public GameObject score; | |
| public GameObject highScoreText; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.UI; | |
| public class PanelRoot : MonoBehaviour | |
| { | |
| private GameObject touchingObj1; | |
| private GameObject touchedObj1; | |
| private int touchNumber1; | |
| private int calcNumber1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.UI; | |
| public class SwipeDetector : MonoBehaviour | |
| { | |
| //スワイプ判定の最低距離 | |
| public float minSwipeDistX; | |
| public float minSwipeDistY; | |
| //実際にスワイプした距離 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using UnityEngine.UI; | |
| public class SwipeDetector : MonoBehaviour | |
| { | |
| //スワイプ判定の最低距離 | |
| public float minSwipeDistX; | |
| public float minSwipeDistY; | |
| //実際にスワイプした距離 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void setup() { | |
| Serial.begin(9800); //モニターに出力するための設定 | |
| } | |
| void loop() { | |
| //ANALOG INの0番ピンからデータを受け付ける | |
| Serial.println(100); //入力された値をモニターに出力 | |
| delay(1000); | |
| } |