Skip to content

Commit

Permalink
Serialize Vehicle.m_Player
Browse files Browse the repository at this point in the history
  • Loading branch information
adrenak committed Jul 8, 2019
1 parent 210231b commit dcc9d40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Assets/Adrenak/Tork/Physics/Scripts/Vehicle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ public class Vehicle : MonoBehaviour {
[Tooltip("The down force based on the speed (KMPH)")]
[SerializeField] AnimationCurve m_DownForceVsSpeed = AnimationCurve.Linear(0, 0, 250, 2500);

[SerializeField] Player m_Player;

Rigidbody m_Rigidbody;
Steering m_Steering;
Motor m_Motor;
Brakes m_Brake;
Aerodynamics m_Aerodynamics;
Player m_Player;

void Start() {
m_Rigidbody = GetComponent<Rigidbody>();
Expand Down

0 comments on commit dcc9d40

Please sign in to comment.