Inheritance: MonoBehaviour
Example #1
0
 void Start()
 {
     riderPhysics = GetComponent <RiderPhysics>();
 }
 void Start()
 {
     riderPhysics = GetComponent<RiderPhysics>();
 }
 void Start()
 {
     riderPhysics = FindObjectOfType<RiderPhysics>(); // TOOD: fix this, only works now because there only 1 rider
 }
 void Start()
 {
     riderPhysics = FindObjectOfType <RiderPhysics>();        // TOOD: fix this, only works now because there only 1 rider
 }