2026-07-07 폰트추가,대화 테스트

This commit is contained in:
2026-07-07 14:20:00 +09:00
parent d88f8770cd
commit 85dae3d159
23 changed files with 266 additions and 30 deletions

View File

@@ -3,4 +3,16 @@
public class GameManager : MonoBehaviour
{
public static GameManager Instance { get; private set; }
private void Awake()
{
if (Instance == null)
{
Instance = this; //만들어진 자신을 인스턴스로 설정
}
else
{
Destroy(gameObject); //이미 인스턴스가 있으면 자신을 파괴
}
}
}