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