Example #1
0
 void Awake()
 {
     //		hit = GetComponent<RaycastHit>();
     parent = GetComponentInParent<Rigidbody>();
     drawRay = GetComponent<DrawDebugRays>();
 }
Example #2
0
 void Awake()
 {
     carRigidBody = GetComponentInParent<Rigidbody>();
     drawRay = GetComponentInParent<DrawDebugRays>();
 }