when I start a new unity 5 2D game. By default, it has scene, game and asset Store tabs. I saved the scene and named it to movementStaging, then closed the scene tab. Now i cannot open it again. I right click on it, and choose open. nothing happens. how can I get the scene tab back?
Right click on another tab ->Add tab -> Scene. Then double clicking on the saved scen should open it in the scene tab. Also restarting unity helps most of the times. You can also try Window -> Layouts -> Default
Another option would be to reset the Window-Layout settings to default.
Related
When I click on the file name or sprite on the inspector window it should locate the file/sprite in project window with a yellow background. But when I am clicking on it, it is not locating the sprite as well as file. Can anyone help me?
First, be on the Project Tab:
Then, click on the Text, or the image if the pop-up is open.
It should locate the file in "Project" Explorer.
This won't work if the file is not in your Project Hierarchy. Unity Default Meshes (primitives like Cube, Sphere...) for example cannot be located.
Make sure that you have only one "Project" window open and that it's not locked:
If that doesn't work, try restarting Unity or reset the Layouts:
Good Luck!
I need to open a non-main menu bar located in another scene.
SceneManager.LoadSceneAsync(Name);
It's work but open main menu
if you need to open the menu bar in another scene, there is a workaround: create this submenu in the current scene, and when you close it, go to the main menu of the other scene
I want to make a prefab of UI Button with it's text. I created a prefabs folder and when I drag my button to the project's prefabs folder, I can't see the text as shown in the tutorial I'm following. I want to change the text of every button I created that is connected to that prefab.
I don't know what tutorial you are watching but it seems to be for an older Unity Version.
I can see you are using Unity 2019 and back in Unity 2018.3 they added Nested Prefabs. Also see the Prefab Manuals.
They work a bit differently now.
You don't directly edit Prefabs anymore but rather either double-click it in the ProjectView or in the Hierachy click on the little arrow > next to it in order to enter the Prefab Mode or since you already selected it in the ProjectView simply hit Open Prefab in the Inspector
This opens your prefab as if it would be a Scene in the hierachy and now you can edit everything in it.
Alternatively simply make your changes in one of the instances in the Hierachy (current Scene) and then apply them back to the prefab as explained in Editing a Prefab via its instances
either for each changed property via right-click
or for all proerties of the entire component via the Override dropdown ont he top-right
This is as its intended to work, in order to see insides of a prefab either open it in the editor or place on scene
I'm trying to open up a game demo from my class to see what it looks like, but after opening up the project in Unity, going to the "Game" tab on the upper part of the screen, and pressing "play", nothing shows up. I'm new to Unity so I have no idea why the screen is blank (there should be a title screen that says "Traffic Jam" and a play button). I'll attach a screenshot of my workspace below.
Note: I read somewhere about changing the "Layout" dropdown option in the upper right corner to "Default", but even if I do that, the title screen doesn't show up correctly.
Here is a link to the project if you want to try it out yourself:
https://drive.google.com/file/d/1ekXt948b612dmyT1AZReUOuzh2XbnSDG/view?usp=sharing
UPDATE: I've now opened the scene and have all the objects displayed, however some things still don't seem to be quite right. The title of the game is not shown when it should be and although the "play" button is shown, clicking on it doesn't get the game started as it should.
You should open the scene you are highlighting, by double clicking. You can also open the unity project by double clicking the scene directly from windows explorer.
When unity has opened that scene, this is what you will see.
And this will then be your game view:
This is what happens when I click play and die.
After opening a Unity project, ensure you are also opening the correct Unity Scene.
Most Unity project usually contains multiple Scene files which will have different contents.
I can see in your Project tab that you have a Unity scene file which is not currently open, if you double click this it should take you to your scene.
I can tell that this is not open as the Hierarchy would show the name of the currently open scene instead of 'Untitled'.
If this file does not contain the items you are looking for you should check other folder in your project for Unity scene files (did you save it as something else?)
I played around with the windows Game, Scene, Hierarchy...Then the Inspector is all over the editor and i don't have the Close Tab option. I tried to close and load the unity editor again but it didn't help. Once i'm loading the project or the scene file i'm getting: I also tried to create a new complete project but still what i see is this:
See the Layout dropdown at the top right of the window (right below the X close button)? Click it, select "Defaut", there you go.