i believe my pc has been set ablaze

This commit is contained in:
Sylvia 2026-03-28 01:28:23 -07:00
parent 24ab1b213e
commit c67146ea1a
10 changed files with 178 additions and 123 deletions

View file

@ -51,6 +51,13 @@ public class EnemySpawner : MonoBehaviour
SpawnEnemy(enemiesToSpawn[Random.Range(0, enemiesToSpawn.Length)], spawnPoints[Random.Range(0, spawnPoints.Count)].position);
}
}
else if (!canSpawn && bossEnemy)
{
if (Input.GetKey(KeyCode.E))
{
LevelSwitcher.instance.LoadShop();
}
}
}
public Enemy SpawnEnemy(Enemy enemy, Vector3 location)