Ejemplo n.º 1
0
 private void CreateBreakdown()
 {
     if (BD_SpawnList.Count > 0)
     {
         Breakdown newBD = Instantiate(BD_Prefab, RandomSpawnPoint()).GetComponent <Breakdown>();
         newBD.AssignRandomBDType();
         breakdownList.Add(newBD);
     }
 }
Ejemplo n.º 2
0
 private void CreateBreakdown()
 {
     if (BD_SpawnList.Count > 0)
     {
         Breakdown newBD = Instantiate(BD_Prefab, RandomSpawnPoint()).GetComponent <Breakdown>();
         newBD.AssignRandomBDType();
         //newBD.Anger_Routine = StartCoroutine(ReduceAngerTimer(newBD));
         breakdownList.Add(newBD);
     }
 }