This commit is contained in:
vis2k 2021-05-16 18:07:29 +08:00
parent 3d7deb1678
commit 1bda888d48

View File

@ -21,6 +21,7 @@ void Awake()
// same name. renaming it to ClientWorld would not load lighting data,
// and everything look pretty dark:
// https://forum.unity.com/threads/scenemanager-mergescenes-leaves-lighting-data.949203/
// TODO figure out how to load light data for modified scene name
ClientWorld = SceneManager.GetActiveScene();
// create a scene with [ServerWorld] suffix