You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
403 B
22 lines
403 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public enum DriveState
|
|
{
|
|
Line = 0,
|
|
Turn
|
|
}
|
|
public class Drive : MonoBehaviour
|
|
{
|
|
public bool isnormalDrive = true;
|
|
public DriveState dirveState = DriveState.Line;
|
|
[HideInInspector]
|
|
public float drivetime = 0f;
|
|
|
|
|
|
|
|
public int carId = 0;
|
|
public GameObject FrontCar=null;
|
|
}
|