Esempio n. 1
0
 // Start is called before the first frame update
 void Start()
 {
     if (seed < 0)
     {
         seed = Random.Range(0, 4000000);
     }
     Random.InitState(seed);
     buildingactory.generateMegastructure = enableBlockMerge;
     buildingactory.Generate();
     carFactory.Generate();
     personFactory.Generate();
     Generate();
 }