Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     controller = GameObject.Find("Main Camera").GetComponent <CameraTransition>();
     constant   = GameObject.Find("Main Camera").GetComponent <ConstantPickUp>();
     carSpawn   = GameObject.Find("CarSpawner").GetComponent <Transform>();
     boatSpawn  = GameObject.Find("BoatSpawner").GetComponent <Transform>();
     heliSpawn  = GameObject.Find("HeliSpawner").GetComponent <Transform>();
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     parent    = GameObject.Find("MainTruck").GetComponent <Transform>();
     dropSpawn = GameObject.Find("DropPoint").GetComponent <Transform>();
     constant  = GameObject.Find("Main Camera").GetComponent <ConstantPickUp>();
 }