예제 #1
0
    // Use this for initialization
    void Start()
    {
        bikePhysics  = bike.GetComponent <DrewBikePhysics>();
        allCrowds    = GameObject.FindGameObjectsWithTag("Crowd");
        drewBackTire = backTire.GetComponent <DrewBackTire>();

        //curCrowd = allCrowds[0];
    }
 void Awake()
 {
     bikePhysics = bike.GetComponent <DrewBikePhysics>();
 }