void Awake() { myGameParams = (GameParams)GameObject.FindObjectOfType(typeof(GameParams)); playerNb = myGameParams.GetNumberOfPlayers(); }