기본 사운드 기능 및 사운드 기능을 위한 사운드 매니저 추가
This commit is contained in:
@@ -7,7 +7,7 @@ public class SceneManagerEx
|
||||
|
||||
public void LoadScene(Define.Scene type)
|
||||
{
|
||||
CurrentScene.Clear();
|
||||
Managers.Clear();
|
||||
SceneManager.LoadScene(GetSceneName(type));
|
||||
}
|
||||
|
||||
@@ -17,4 +17,9 @@ public class SceneManagerEx
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
CurrentScene.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user