Added project
This commit is contained in:
11
Platformer/Assets/Scripts/For HW05/Vehicle.cs
Normal file
11
Platformer/Assets/Scripts/For HW05/Vehicle.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
abstract public class Vehicle {
|
||||
|
||||
public string vehicleName { get; set; }
|
||||
|
||||
public virtual void Beep() {
|
||||
Debug.Log("Vehicle");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user