Пример #1
0
 public void Resume()
 {
     Kinect.Start();
     pausePanel_T.SetActive(false);
     pausePanel_P.SetActive(false);
     pauseButton.SetActive(true);
     Time.timeScale = 1;
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     rb2d        = GetComponent <Rigidbody2D>();
     anim        = GetComponent <Animator> ();
     playerFound = false;
     player      = new KinectData();
     player.Start();
     birdFlap.clip = flap;
     played        = false;
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     kinectData = new KinectData();
     kinectData.Start();
 }