Ejemplo n.º 1
0
 void PrepVehicles()
 {
     for (int i = 0; i < Settings.GetNumberOfVehicles(); i++)
     {
         var vehicle = PoolBoss.GetObject <Vehicle>(i);
         vehicle.GetComponent <RoITestObject>().Init();
     }
 }