2026-07-05 기본씬 삭제, 폴더구조 확보

This commit is contained in:
2026-07-05 21:34:34 +09:00
parent d340446b19
commit 2e62e509e9
52 changed files with 167 additions and 1057 deletions

View File

@@ -309,7 +309,7 @@ private void Update()
if (Physics.Raycast(ray, out var hit) && hit.transform.IsChildOf(transform))
{
Debug.Log("캐릭터 클릭");
Play();
_ = Play(); // 테스트용 fire-and-forget (Update는 await 불가)
}
}
}

View File

@@ -0,0 +1,18 @@
using UnityEngine;
public class GlobalObject : MonoBehaviour
{
private static GlobalObject _instance;
void Awake()
{
if (_instance == null)
{
_instance = this;
DontDestroyOnLoad(gameObject);
}
else
{
Destroy(gameObject);
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 1987a724d04e85844b61c6a285b30791

View File

@@ -18,7 +18,6 @@ private void Awake()
if (Instance == null)
{
Instance = this; //만들어진 자신을 인스턴스로 설정
DontDestroyOnLoad(gameObject);
}
else
{

View File

@@ -0,0 +1,16 @@
using UnityEngine;
public class SoundManager : MonoBehaviour
{
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 6de75b1b76588eb4280f8d111def36b7