Game UI ready
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user