Game UI ready

This commit is contained in:
Mausham
2025-12-15 17:49:08 -08:00
parent 0ea929bd20
commit f4c55dec05
325 changed files with 28015 additions and 360 deletions

View File

@@ -19,9 +19,8 @@ public class Platform : MonoBehaviour, IPlatform
[Inject] Player player;
[Inject] IPool pool;
[Inject] IPlatformManager platformManager;
[Inject] ScoreService scoreService;
[Inject] IScoreService IscoreService;
[Inject] IAudioController IaudioController;
public void SetPlatformRule(IPlatformRule platformRule)
{
_platformRule = platformRule;
@@ -34,7 +33,9 @@ public class Platform : MonoBehaviour, IPlatform
{
hasAchievedScore = true;
Debug.Log("Score Increased");
scoreService.AddScore();
IscoreService.AddScore();
IaudioController.PlayScoredSound();
}
}