2026-06-01 데드존 만들기 진행중

This commit is contained in:
2026-06-01 15:04:14 +09:00
parent 4d38f87886
commit 2e7ddb5fb4
11 changed files with 70 additions and 7 deletions

View File

@@ -0,0 +1,18 @@
using UnityEngine;
using UnityEngine.UI;
public class RestartUI : MonoBehaviour
{
[SerializeField] GameObject RestartRoot;
[SerializeField] Button RestartButton;
private void Start()
{
RestartButton.onClick.AddListener(()=>GameManager.Instance.GameRestart());
}
public void ShowRestart()
{
RestartRoot.SetActive(true);
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 6f1fff5578632d94a8da5d5b817993ad