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