Module 1: Introduction to Game Development
Module 2: Unity Interface and Basics
Module 3: Introduction to C# Programming for Unity
Module 4: Physics and Movement
Module 5: 2D Game Development
Module 6: 3D Game Development
Module 7: User Interfaces and Game Mechanics
Module 8: Animation and Visual Effects
Module 9: Sound Design and Implementation
Module 10: Building and Deploying Your Game
Module 11: Advanced Topics and Next Steps

2.3 Introduction to GameObjects and Components

What Are GameObjects?

  • GameObjects are the fundamental elements in Unity.
  • They can represent characters, props, lights, cameras, or empty placeholders.

What Are Components?

  • Components add functionality to GameObjects.
  • Examples:
    • Transform: Determines position, rotation, and scale.
    • Mesh Renderer: Makes 3D models visible in the scene.
    • Collider: Allows objects to interact physically.
    • Script: Adds custom behavior via C# code.

Creating a GameObject:

  • In the Hierarchy Window, right-click and select 3D Object > Cube.
  • Use the Inspector to adjust its Transform properties.

Activity: Create a cube in your scene. Add a Rigidbody component (for physics) and observe how it reacts to gravity when you press Play.