
이번 시간엔 블록 매치에 성공하면 점수를 획득하도록 하겠습니다. public class UI_Match_Block : MonoBehaviour{ [Header("점수")] [SerializeField] int _score; public int GetScore() => _score; public static event Action _mathcomplte_event; //..이하 생략}- 우선 인스펙터에서 점수를 조정해줍니다. using System;using UnityEngine;public class ScoreManager : MonoBehaviour{ public static event Action _add_score_event;//스코어 획득 이벤트 int _curr..