Projext/Assets/02_Scripts/UI/Menu/MenuActions.cs
hydrozen e989d20668 카툰 쉐이더 추가 + 중복 스크립트 수정 + 전체 업데이트
- ToonPostProcess.shader: 횃불 고딕 스타일 후처리 쉐이더 (Built-in RP)
- ToonCameraEffect.cs: 카메라 자동 부착 후처리 스크립트
- 중복 UI 스크립트 제거 (MenuIntroController, ToggleCustom)
- 씬, 프리팹, 애니메이션 등 전체 업데이트

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 12:31:16 +09:00

39 lines
816 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuActions : MonoBehaviour
{
public GameObject settingsPanel;
public string gameSceneName = "GameScene";
public void StartGame()
{
Debug.Log("<color=red>게임 시작 버튼이 눌렸습니다!</color>");
// SceneManager.LoadScene(gameSceneName); // 일단 주석 처리
}
public void OpenSettings()
{
if (settingsPanel != null)
{
settingsPanel.SetActive(true);
}
}
public void CloseSettings()
{
if (settingsPanel != null)
{
settingsPanel.SetActive(false);
}
}
public void ExitGame()
{
Application.Quit();
#if UNITY_EDITOR
UnityEditor.EditorApplication.isPlaying = false;
#endif
}
}