void Awake()
 {
     _driver = GetComponent<CarDriver>();
     _maxSpeed = _driver.MaxSpeed;
     _driver.CreateSkidmarks = true;
     Instance = this;
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     //
     pcb = gc.playersCar.transform.parent.GetComponent <PlayerCarBehaviour> ();
     //
     IntegrityLevelIntialize();
     ScoreBoardIntialize();
 }