mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-27 10:32:33 +08:00
3.3.3
* Fix `Hide on Startup` not working * Fix for cases when we try to `scene.GetRootGameObjects()` but the scene has not yet fully loaded. * MelonLoader releases will no longer spam "Preferences Saved!" constantly in the Console log * Fix mistake with UI Event System setting/releasing * Fix some UI elements not having correct Color transition values
This commit is contained in:
@ -52,6 +52,9 @@ namespace UnityExplorer.Core.Runtime.Mono
|
||||
|
||||
public override GameObject[] GetRootGameObjects(Scene scene)
|
||||
{
|
||||
if (!scene.isLoaded)
|
||||
return new GameObject[0];
|
||||
|
||||
return scene.GetRootGameObjects();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user