캐릭터 움직임
This commit is contained in:
@@ -14,6 +14,7 @@ private void Awake()
|
||||
if (Instance == null)
|
||||
{
|
||||
Instance = this; // 만들어진 자신을 인스턴스로 설정
|
||||
DontDestroyOnLoad(gameObject); //씬이 바뀌어도 파괴되지 않도록 설정
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user