// Start is called before the first frame update void Start() { audi = new Car(); suv = new Car(200); tesla = new ElectricCar(120, false); pepitosCar = new PlasmaCar(); }
// Start is called before the first frame update void Start() { audi = new Car(); Car citroen = new Car("HY3421"); Car peugeot = new Car("PE8765", Color.red); Debug.Log(audi.licensePlate); Debug.Log(citroen.licensePlate); Debug.Log(peugeot.licensePlate); tesla = new ElectricCar("JU7253"); pepitosCar = new PlasmaCar("PEPITO"); }