added sounds

This commit is contained in:
Mausham
2025-12-14 22:51:43 +05:45
parent 94e8eba3b1
commit 0ea929bd20
30 changed files with 6756 additions and 882 deletions

View File

@@ -0,0 +1,24 @@
using System;
using UnityEngine;
using VContainer;
public class StartScreenController
{
private StartScreenView startScreenView;
public event Action OnStartPressed;
public StartScreenController(StartScreenView _startScreenView)
{
Debug.Log("StartScreenController Constructor Called");
startScreenView = _startScreenView;
startScreenView.tapToStartButton.onClick.AddListener(() => OnStartPressed?.Invoke());
}
private void OnTapToStartButtonClicked()
{
startScreenView.Hide();
}
public void ShowStartScreen()
{
startScreenView.Show();
}
}