"Dark God of War" Quiz notes

Loading Scene:

Scene usually larger, so do not use resource.load (resource.load synchronous loading) loading mode, loading asynchronous

SceneManager.LoadSceneAsync("sceneName");

Scene change will destroy gameroot, causing it to mount the pace can not be triggered resolve as follows:

DontDestroyOnload(this);

Guess you like

Origin www.cnblogs.com/xiaomubook/p/11291735.html