Added high score

Also made player always render on top of enemies
This commit is contained in:
Pasha Bibko
2025-11-25 15:08:04 +00:00
parent 3ae3d3e0d0
commit 6ee784bf4e
6 changed files with 12 additions and 7 deletions

View File

@@ -14,7 +14,7 @@ public class EnemyController : OrbitalPositionBehaviour
public override void OnReachCentre()
{
if (GlobalOrbitalPositionManager.IsSimulationRunning)
PlayerController.PlayerScore++;
PlayerController.s_PlayerScore++;
Destroy(gameObject);
}