Exemplo n.º 1
0
 void Start()
 {
     clutterSpawner = clutterSpawner.GetComponent <ClutterSpawner> ();
     dynamicPlacer  = dynamicPlacer.GetComponent <DynamicPlacer> ();
     biome          = GetComponent <BiomeClass> ();
     dDA            = dDA.GetComponent <DDA> ();
     gameStats      = gameStats.GetComponent <GameStats> ();
     if (GameObject.FindGameObjectWithTag("Player"))
     {
         P = GameObject.FindGameObjectWithTag("Player");
     }
     pChecker = LaneClass.playerSpawnLocation + new Vector3(0, 0, 1.5f);
 }