A editor in which you can design your scene.
Per default you have a camera called Main Camera
, a Sun called Directional Light
in the Scene.
You can navigate with:
Action | 3-Button Mouse | 2-button mouse or track-pad | Mac with only one mouse button or track-pad |
---|---|---|---|
Move | Alt+MMB | Ctrl+Alt+LMB | Alt+⌘+LMB |
Orbit (only 3D mode) | Alt+LMB | Alt+LMB | Alt+LMB |
Zoom | Scroll or Alt+RMB | Alt+RMB | Alt+Ctrl+LMB or two-finger swipe |
A Preview of the resulting Game. Note the "Maximize on Play"-Toggle on top
Get/Buy Ressources for your Game
The toolbar is located in the upper left area of the Window and looks like this:
Icon | Name | What it does |
---|---|---|
Hand Tool | Pan around in the Scene | |
Move Tool | Change the Position of individual GameObjects (in XYZ Direction) | |
Rotate Tool | Change the Rotation of individual GameObjects (in XYZ Direction) | |
Scale Tool | Change the Scaling of individual GameObjects – from its Center or Pivot Point | |
Rect Transform Tool | Change the Scaling of individual GameObjects – from its Corners | |
Transform Tool | A combination of the Move, Rotate and Scale-Tools |
There can be more Tools depending on the selected Object.
Lists all Components of the currently selected object. You can e.g.:
Transform
-ComponentMeshRenderer
-ComponentLists all Assets you created. Assets allow you to create and store reusable:
Displays any kind of warning, error or debug message your Scripts might produce.
A simple example would be:
Project
-PaneExampleScript
and doubleclick it to open the Default EditorDebug.Log("Hello there, I am debug Output");
in the Start()-block of the existing code.
Things should look like this using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ExampleScript : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
Debug.Log("Hello there, I am debug Output");
}
}
Save the file
You now should see your message in the Console: