© Kishan Takoordyal 2020
K. TakoordyalBeginning Unity Android Game Developmenthttps://doi.org/10.1007/978-1-4842-6002-9_3

3. GameObjects, Prefabs, Materials, and Components

Kishan Takoordyal1 
Eau Coulee, Mauritius

As stated in Chapter 2, games built with Unity are usually arranged in scenes. These scenes usually contain many objects to enhance them and make the game interactable and enjoyable. The goal is to have a concrete game with solid mechanics, good gameplay, and good graphics.

3.1 GameObjects and Prefabs

In Unity, objects in scenes are referred to as “GameObjects.” When you create a new scene, it contains a Main Camera and a Directional Light. These are GameObjects. Every object you find in the Hierarchy window is a GameObject. If you create ...

Get Beginning Unity Android Game Development: From Beginner to Pro now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.