Multiple games in one scene

Hello. So i want to run multiply games in one scene and divide them. So one game will be shown in left down corner, another in right down corner and so on. What i do. I make an empty scene and then load there my levels. But here begin a problems. Level loads on each other. And levels shown in only one camera. Also there problem with audio listener, because here is 4 audio listener. I know i can divide screen space by each camera. So its difficult.

But maybe there are another way to do this?

I would go with the "screen space divided by each camera"-idea. Simple arrange all cameras like you want them to be and then work with layers - e.g. each camera only shows objects from a different layer. For the audio listener... you could just move the one listener half-way between all cameras (should work as long your are not using 3d sounds). Oh, and for managing 4 different games at once: Have a look at a [finite state machine][1], this should simplify it. [1]: http://wiki.unity3d.com/index.php/Finite_State_Machine

Ok. I will try to work on this idea. Thanks.

1 Answer

1

GUIManagerScript can be created to manage all instance at one scene. Try to code cool.

Can you explain?