Inheritance: MonoBehaviour
Exemplo n.º 1
0
 void Start()
 {
     riderPhysics = GetComponent <RiderPhysics>();
 }
Exemplo n.º 2
0
 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
 }