// Use this for initialization void Start() { playerScript = GameObject.FindWithTag("Player").GetComponent <PlayerScript>(); acrobaticsScript = GameObject.FindWithTag("CameraHolder").GetComponent <AcrobaticsScript>(); // Leap stuff controller = new Controller(); //controller.EnableGesture(Gesture.GestureType.TYPECIRCLE); controller.Config.SetFloat("Gesture.Circle.MinArc", Mathf.PI); controller.Config.Save(); sphereRadiusRollingAverageArray = new float[sphereRadiusRollingAverageLength]; }
// Use this for initialization void Start() { playerScript = GameObject.FindWithTag("Player").GetComponent<PlayerScript>(); acrobaticsScript = GameObject.FindWithTag("CameraHolder").GetComponent<AcrobaticsScript>(); // Leap stuff controller = new Controller(); //controller.EnableGesture(Gesture.GestureType.TYPECIRCLE); controller.Config.SetFloat("Gesture.Circle.MinArc", Mathf.PI ); controller.Config.Save(); sphereRadiusRollingAverageArray = new float[sphereRadiusRollingAverageLength]; }