MatchHud: hunter/hider count widgets + English phase labels

Authored HUD count widgets (Hunter/Hider label + count) wired to new
_hunterCount/_hiderCount serialized fields; phase labels switched to English.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 4.8 committed 2026-07-03 12:57:14 +02:00
1 parent 68ca19c2b3
commit 8ee329eee0
2 files changed
+725 -16

No files matched your search

+6 -3
View File
@@ -24,6 +24,9 @@ public class MatchHud : MonoBehaviour
[Tooltip("Countdown label in the top bar.")]
[SerializeField] private TMP_Text _timeText;
[SerializeField] private TMP_Text _hunterCount;
[SerializeField] private TMP_Text _hiderCount;
[Tooltip("Crosshair, shown only for the hunter during the seek phase.")]
[SerializeField] private GameObject _crosshair;
@@ -73,9 +76,9 @@ public class MatchHud : MonoBehaviour
{
switch (phase)
{
case MatchManager.MatchSubPhase.Hide: return "Verstecken";
case MatchManager.MatchSubPhase.Seek: return "Suchen";
case MatchManager.MatchSubPhase.Resolution: return "Auflösung";
case MatchManager.MatchSubPhase.Hide: return "Hide";
case MatchManager.MatchSubPhase.Seek: return "Seek";
case MatchManager.MatchSubPhase.Resolution: return "Resolution";
default: return "";
}
}