tuyoogame / YooAsset

unity3d resources management system
https://www.yooasset.com/
Apache License 2.0
2.25k stars 449 forks source link

使用LoadSceneMode.Single加载出来的场景不能被卸载 #315

Open JellyHoney opened 3 weeks ago

JellyHoney commented 3 weeks ago

假设现在用LoadSceneMode.Single加载出来了场景A,然后用LoadSceneMode.Additive加载出场景B。 Unity的接口是可以把A卸载掉的,这时候B变成了ActiveScene; YooAsset的接口不支持卸载场景A

gmhevinci commented 1 week ago

YOO设计理念是Single模式加载的场景为主场景,只有加载其它主场景才会卸载之前主场景。

JellyHoney commented 1 week ago

YOO设计理念是Single模式加载的场景为主场景,只有加载其它主场景才会卸载之前主场景。

这块有计划改动吗?

gmhevinci commented 1 week ago

我尝试修改一下规则。已加入到修改计划里。