Somehow, I lost the Hacker detail in the Inspector. When I noticed that, I tried to find a way to “fix” it and totally messed the whole thing up. I had to start over and copied and pasted code back in until I got back up to this current lecture. Below is a screen shot of what it looks like in game play mode. When I started over and imported the package, for some reason, I don’t have the display of the Monitor in Screen Mode. I have scrolled my mouse as far as possible and nothing shows up. Will these two issues be a problem later? If not, then I will just leave it alone because I don’t want to have to start over again. Everything runs fine like its supposed to in play mode.
Not sure what you mean with regards to the Inspector detail?
Regarding the Scene view, double-click on the WM2000 GameObject in the Hierarchy and Unity will focus the Scene View camera on that specific GameObject.
Hope this helps
I tried double-clicking on the WM2000 GameObject but nothing happens. And what I mean about the detail in the inspector is the script for the WM2000 doesn’t show the password detail when playing the game and you enter the password screen. It shows up on Ben’s screen and it used to show on my screen back a few lectures before but not now. Hopefully, that’s not a big deal though.
Here is a screen shot of Ben’s display that shows the detail I’m talking about:
You definitely should be able to focus the Scene View camera upon the selected GameObject from the Hierarchy when you are in Scene view. You can try testing fairly easily;
- create a new scene
- make sure you can view it in 3D mode within the Scene view
- create a cube
- create a sphere
- move the two GameObjects apart by a reasonable distance, perhaps by 20 on the X axis and 20 on the Y axis for example
- double-click the cube, the scene view camera should focus upon it, assuming it isn’t already
- double-click on the sphere, the scene view camera should focus up on, assuming it isn’t already
- by repeating the above you should get the feel of moving between the two objects in the Scene view
Note, you should also be able to use the F key on your keyboard to frame the selected GameObject in the Scene view.
Regarding the Inspector detail you mentioned, and the screenshot, note how the Inspector tab says Debug, I suspect yours currently says Inspector. If you right-click on the Inspector tab you’ll get a short context menu, choose the Debug option, you should then see some of the other details from the class, they appear as the greyed out properties, as per the screenshot you provided.
Hope this helps
Regarding the inspector detail, I have already had it in debug and it doesn’t make a difference with the hacker (script). I just tried it again to be sure but it doesn’t work. I don’t understand why. I used to see it.
I haven’t tried the GameObject suggestion yet. I will try that in a little bit to see what happens there.
The last few days I have had some kind of computer issue going on with my keyboard. I have been trying to figure out what’s going on with that. I’m hoping it’s not some kind of virus. I keep getting missing keystrokes. The only way I’m typing now is because my husband suggested trying a usb keyboard and so far, that has been working. I remember having this issue a couple of years ago but I don’t remember how I finally fixed it.
Perhaps you could provide a screenshot and indicate what you believe is missing compared to the screenshot you provided above from the lecture?
Regarding the keyboard, not sure I can really help with that, missing keystrokes however could be something as simple as something stuck in/under the keys - when I worked in an office my keyboard was often full of crumbs from biscuits/crisps/pastries/sandwiches, quite grim when I write it like that, but those little things tend to build up over time and may be preventing the key from registering. Try tipping it upside down and tapping it, give it a good shake, see what falls out - I claim any small change
Here is Ben’s
This is crazy. It wasn’t showing up before but now, all of a sudden when I’m about to take a screen shot of it, it is suddenly there. All I did was close up the Transform button and then the information showed up: Instance ID, Local Identifier, and the grayed out Level 1 and Level 2 Passwords, Current Screen, Level and Password fields. Weird
I just went through the steps you gave me for the display issue. I created a test scene and following your steps, those worked just fine but still no luck with getting the WM2000 GameObject to show up in Scene View.
Glad you have resolved the first issue, I’m wondering if perhaps you just didn’t have the view expanded, e.g. the little arrow the expands/collapses the detail etc?
Regarding the WM2000 not appearing in the scene, can you be more specific, what exactly isn’t appearing? For example, does the entire computer screen not appear, does the text not appear? When you run the game can you see the computer screen, see the text, and hear the humming sound effect?
Regarding the first issue, I did have the little arrow expanded so I’m not sure why it wasn’t showing up before.
The WM2000 object does not show up in the scene view. Everything works just fine when I run the game including the sound effect. I just can’t see the computer screen object in scene view. All I see is an empty border where the object should appear.