Esempio n. 1
0
    public void StopAllThings()
    {
        //sManager_Ref.PlaySubtitle(53);
        spawningStatus = SpawningStatus.Idle;

        //sManager_Ref.TurnOffSubtitleImmediately();

        int count = spawnedProjectiles.Count;

        for (int x = 0; x < count; x++)
        {
            GameObject gO = spawnedProjectiles[x].gameObject;
            Destroy(gO.gameObject, 0.1f);
            spawnedProjectiles.Remove(gO.GetComponent <ArchingProjectile>());
        }
    }
Esempio n. 2
0
 public void PreventSpawning()
 {
     spawningStatus = SpawningStatus.Idle;
 }