- ToonPostProcess.shader: 횃불 고딕 스타일 후처리 쉐이더 (Built-in RP) - ToonCameraEffect.cs: 카메라 자동 부착 후처리 스크립트 - 중복 UI 스크립트 제거 (MenuIntroController, ToggleCustom) - 씬, 프리팹, 애니메이션 등 전체 업데이트 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
816 B
C#
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
|
|
}
|
|
} |