private void GetNewCar() { enemy = factory.BuildEnemy(); lastCar += 1; enemy.transform.position = new Vector3(Random.Range(-9, 8), 0.5f, Random.Range(-10, 31)); }
private void GetNewCar() { enemy = factory.BuildEnemy(); lastCar += 1; enemy.transform.position = new Vector3(Random.Range(-9, 8), 0.5f, Random.Range(-10, 31)); }