Degulleo3D/Assets/LYM/Scripts/PauseButton.cs
Lim0_C a946eed728 Revert "DEG-140 [feat] 일시정지 기능 추가"
This reverts commit fe521317c1c5533137a571ce717fa2e504286296.
2025-05-12 15:06:55 +09:00

14 lines
351 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseButton : MonoBehaviour
{
public void OnClicked()
{
//todo: 게임 일시정지 필요
var menuPanel = GameManager.Instance.PanelManager.GetPanel("MenuPanel");
menuPanel.GetComponent<MenuPanelController>().Show();
}
}