How does this work? I found the C2 template but I'm trying to figure how it works and how to build my own from a fresh project perspective.
I'm inspecting the (template) Layout properties of all 3 Layouts but can't see what's different to allow a sprite to pass into each Layout unaffected.
Develop games in your browser. Powerful, performant & highly capable.
I guess calling it a 'persist layout' is a little misleading. The objects are persisting, you add the behaviour on the objects themselves and this means they retain their state when you go between layouts rather than they are destroyed and recreated again when going between layouts, which is what normally happens without that behaviour.