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