Degulleo3D/Assets/LYM/Scripts/PauseButton.cs
Lim0_C 0e206aa885 DEG-136 [fix] 던전 하우징 패널 프리팹 수정
퍼즈버튼 스크립트 추가 todo 작성
2025-05-09 17:15:25 +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();
}
}