CodeBlanks Logo Icon CodeBlanks

Summary - First scene

Combine the project with a single summary task.

Summary of the first scene

The first scene project is completed in four steps: placing the camera and light, adding the cube, creating and assigning a material, and testing with Play. Each step builds on the previous one; without a camera you cannot see the cube, without a material you cannot change its color. The summary below lists the final state of the scene.

1. Main Camera       -> Position: 0, 1, -10
2. Directional Light -> Rotation: 50, -30, 0
3. Cube              -> Position: 0, 0, 0
4. KupMalzemesi      -> Albedo: turuncu
5. Play              -> Test tamam

This list lets you check that your scene is complete.

Practice Print the scene summary

Print the summary of the scene with four Console.WriteLine lines. The lines must be Kamera: 0, 1, -10, Kup: 0, 0, 0, Malzeme: KupMalzemesi (turuncu), and Durum: Test edildi, in this order.

Starter code

Player.cs
using System;

class Ozet {
    static void Main() {
        // 1) Kamera ozetini yazdir (konum: 0, 1, -10)
        // 2) Kup ozetini yazdir (konum: 0, 0, 0)
        // 3) Malzeme ozetini yazdir (ad ve renk)
        // 4) Durum satirini yazdir
    }
}

Sample solution

Player.cs
using System;

class Ozet {
    static void Main() {
        Console.WriteLine("Kamera: 0, 1, -10");
        Console.WriteLine("Kup: 0, 0, 0");
        Console.WriteLine("Malzeme: KupMalzemesi (turuncu)");
        Console.WriteLine("Durum: Test edildi");
    }
}

Expected output

Kamera: 0, 1, -10
Kup: 0, 0, 0
Malzeme: KupMalzemesi (turuncu)
Durum: Test edildi

Questions and answers

Review the lesson questions together with their answers. To test yourself, solve the lesson interactively.

1 Which is the correct order for the first scene project?

  • Material > Camera and light > Play > Cube
  • Camera and light > Cube > Material > Play Correct answer
  • Cube > Material > Camera and light > Play
  • Play > Material > Cube > Camera and light

Explanation: First the camera and light are placed, then the cube is added, then the material is assigned, and finally the scene is tested with Play.

2 Write the camera's height

Question
int kameraY = ____; // Main Camera yuksekligi
Answer
int kameraY = 1; // Main Camera yuksekligi

Explanation: In the summary line the Main Camera position is given as 0, 1, -10; the Y value is 1.

3 Scene steps

Term Meaning
1. adım Place the camera and light
2. adım Add the cube to the scene
3. adım Create a material and assign it
4. adım Test with Play

All lessons in Beginner