빌드 스크립트 추가

This commit is contained in:
Mingu Kim
2025-06-27 00:56:39 +09:00
parent 8cae00f132
commit 02dbaae8d1
5 changed files with 76 additions and 1 deletions

View File

@@ -5,12 +5,14 @@ using UnityEngine.UI;
namespace TON
{
// View
public class RouletteSpin : MonoBehaviour
{
[SerializeField] private Roulette roulette;
[SerializeField] private Button buttonSpin;
private PlayerDataManager playerDataManager;
// Todo : Presenter 변수
private void Awake()
{
@@ -27,6 +29,8 @@ namespace TON
buttonSpin.interactable = false;
roulette.Spin(EndOfSpin);
});
// Presenter 생성
}
private void EndOfSpin(RoulettePieceData selectedData)