public float GetSpeedCars() { return(CarSegmentManager.GetSpeed()); }
/*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()); }