usingGley.TrafficSystem;usingUnityEngine;publicclassTest:MonoBehaviour{ //a reference to vehicle pool and player assigned in inspectorpublicVehiclePool vehiclePool;publicTransform player;voidStart() {API.Initialize(player,20, vehiclePool); }privatevoidUpdate() {if(Input.GetKeyDown(KeyCode.Alpha1)) { //if 1 is pressed the vehicle will stopAPI.AddDrivingAction(0,DriveActions.Stop,true); }if(Input.GetKeyDown(KeyCode.Alpha2)) { // if 2 is pressed the vehicle will continue its previous behavior.API.RemoveDrivingAction(0,DriveActions.Stop); } }}