// Use this for initialization void Start() { plugin = new RazerHydraPlugin(); //playerTransform = this.GetComponent<Transform> (); plugin.init(); ball.GetComponent <Rigidbody> ().useGravity = false; ball.SetActive(true); ballClone = Instantiate(ball, hold.transform.position, hold.transform.rotation); ballClone.SetActive(false); //start = 0f; //end = 0f; medium = 10; small = 7; large = 13; StartCoroutine(throwCheck()); }