// Use this for initialization void Awake() { if (!testing) { data = GameObject.Find ("GameData").GetComponent<GameData> (); solo = data.alone; if(p1) data.CheckPlayers (); } playerShoot = GetComponent<Shoot> (); numControllers = Input.GetJoystickNames().Length; Debug.Log (numControllers); Cursor.visible = false; }