12 lines
173 B
C#
12 lines
173 B
C#
|
|
using UnityEngine;
|
|||
|
|
|
|||
|
|
abstract public class Vehicle {
|
|||
|
|
|
|||
|
|
public string vehicleName { get; set; }
|
|||
|
|
|
|||
|
|
public virtual void Beep() {
|
|||
|
|
Debug.Log("Vehicle");
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|