Unity
유니티 씬 전환 시 오브젝트 유지 (DontDestroyOnLoad)
ppp5500
2022. 3. 30. 16:44
씬이 바뀌더라도 오브젝트를 파괴하지 않게 해주는 메소드다.
https://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html