How do scripts / objects interact between several open scenes.
I'm using asynchronous loading to have several scenes open at the same time and I'm getting unusual results from cross scene interactions. Ai floating in the air things like that.
How do you access a single game object in all simultaneously open scenes that's in the Hierarchy?
Can somebody explain how objects and scripts from different scenes interact?
What is the "meta scene" created when using DontDestroyOnLoad?
Should everything that has a script interaction live in the same scene?
https://docs.unity3d.com/ScriptReference/Object.DontDestroyOnLoad.html
Add comment
↧