Пример #1
0
 void Awake()
 {
     myGameParams = (GameParams)GameObject.FindObjectOfType(typeof(GameParams));
     playerNb     = myGameParams.GetNumberOfPlayers();
 }