Added score counter

This commit is contained in:
Pasha Bibko
2025-11-25 11:50:23 +00:00
parent 4f3aab0a36
commit 229b92e0d0
4 changed files with 270 additions and 2 deletions

View File

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