Questions tagged [scenemanager]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
521 views

How do I correctly unload an additive Scene in WebGL?

I am creating an app in WebGL. I have a loading scene that I am loading additively: SceneManager.LoadScene("Loading Scene", LoadSceneMode.Additive); It loads ...
1
vote
0answers
42 views

how can this random scene code run well when it is reloaded?

I have a code for random scenes, the scenes that I have are 10 randomized scenes, but when I reload the scene there is only one scene. ...
0
votes
1answer
40 views

Add Camera Dynamically?

I have a "A1" scene, and from there, I want to create a new scene "A2" on button click and then I want to load the same scene. Creating a scene can be done with, ...
0
votes
0answers
30 views

How to deal with data transfer between scenes

What i would like to achieve is to have 1 global 2d map where armies could move (Scene 1). When they collide, trigger loads new scene, setup parameters like army size etc (Scene 2). Once battle is ...
0
votes
0answers
29 views

Correct way to control a scene

I'm trying to build an '90s style rpg game, think dragon warrior series, where it will have a UI box at the bottom of the screen where the user makes a choice like attack, move, eat etc I'm thinking ...
0
votes
0answers
427 views

Unity3D : Unload a loaded and inactive scene

I am using the following coroutine to attempt to unload asynchronously a loaded but inactive scene in Unity : ...
0
votes
1answer
30 views

How to reset scene (stage1) when selecting it from Level stagemain menu

Good day I have a problem when the player finish stage 1 the screen look like this Then going back to selecting level When I try to play the stage 1 again. I want to reset the stage 1 so i can play ...
0
votes
2answers
1k views

When scene loaded up, Position player at a start point. (Unity2D)

If pointName and player.startPoint are true, shown by the inspector, why doesn't the player's position go to the start point with a pointName of "ToNeighborhood". Note: The code runs if pointName == ...
-1
votes
1answer
2k views

Unity-How to use one scene's camera in another scene?

I have two scenes in my game, one is the menu scene with the UI and the other is the scene where all my game items are. Right now my UI looks too plain so what I want is to display my actual game ...
-2
votes
1answer
590 views

Why I can't change from one scene to another by using SceneManager.LoadScene()?

I made a game with two scenes and everytime I call the function SceneManager.LoadScene(), no matter the value, type(string or <...
-2
votes
1answer
88 views

Unity change scene with button

I already understand how to do this but the problem I'm having is: When I go from "MainMenu" to "Level01" and then back, the buttons lose their reference. How can I fix this? ...