Exemplo n.º 1
0
 public float GetSpeedCars()
 {
     return(CarSegmentManager.GetSpeed());
 }
Exemplo n.º 2
0
 /*void OnGUI()
  * {
  *  GUI.Label(new Rect(20, 20, 300, 20), "" + Input.gyro.attitude);
  *  GUI.Label(new Rect(20, 40, 300, 20), "Update: " + Mathf.Floor(1 /Time.deltaTime));
  *  GUI.Label(new Rect(20, 60, 300, 20), "FixedUpdate: " + Mathf.Floor(1/Time.fixedDeltaTime));
  * }*/
 // Depricated
 public float GetSpeed()
 {
     return(RoadSegmentManager.GetSpeed());
 }