Commit 585600a4 authored by 16이진형's avatar 16이진형

알림시 시간 정지

parent 5fee82db
......@@ -75,10 +75,12 @@ public class AlertManager : MonoBehaviour
public void Open()
{
Time.timeScale = 0.0f;
alertObject.SetActive(true);
}
public void Close()
{
Time.timeScale = 1.0f;
okButton.onClick.RemoveAllListeners();
cancelButton.onClick.RemoveAllListeners();
alertObject.SetActive(false);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment