Add win screen

This commit is contained in:
RochesterX
2025-03-08 13:33:19 -05:00
parent 63912cd2fd
commit 058cf261c8
18 changed files with 2055 additions and 127 deletions

View File

@@ -23,6 +23,8 @@ public class HealthBarManager : MonoBehaviour
foreach (var kvp in playerHealthBars)
{
GameObject player = kvp.Key;
if (player == null) continue;
GameObject healthBar = kvp.Value;
//healthBar.GetComponent<TerribleHealthBarScript>().fullHealthColor = GameManager.playerColors[GameManager.players.IndexOf(player)]; // Color health bars
healthBar.transform.SetPositionAndRotation(new Vector3(player.transform.position.x, player.transform.position.y + 1.5f, player.transform.position.z), Quaternion.identity);