SlideShare a Scribd company logo
Unity Basics
Dr. Natheer Khasawneh
Learning the Interface
Project View
Project View
• Every Unity project contains an Assets folder.
• The contents of this folder are presented in the
Project View.
• This is where you store all the assets that make
up your game, like scenes, scripts, 3D models,
textures, audio files, and Prefabs.
• If you right-click on any asset in the Project View,
you can choose Reveal in Explorer (Reveal in
Finder on Mac) to actually see the asset itself in
your file system.
Project View
• To add assets to your project, you can drag any file
from your OS into the Project View, or use Assets-
>Import New Asset. Your asset is now ready to be used
in your game. More information about working with
assets to be presented later in Asset Workflow.
• Scenes are also stored in the Project View. Think of
these as individual levels. To create a new Scene, use
Control-N. To save the current Scene into the Project
View, use Control-S.
• Some game assets need to be created from within
Unity. To do this, use the Create drop-down, or right
click->Create. (see the image in the next slide)
Creating new Asset
This will allow you to add scripts, Prefabs, or folders to keep your project organized. You
can rename any asset/folder by pressing F2 on Windows, or with two paced clicks on the
asset name. If you hold the Alt key while you expand or contract a directory, all
subdirectories will also be expanded or contracted.
Hierarchy
• The Hierarchy contains every GameObject in the current Scene.
• GameObject are:
– Direct instances of asset files like 3D models.
– Instances of Prefabs
• As objects are added and removed from the scene, they will appear and
disappear from the Hierarchy as well.
Parenting
• Unity uses a concept called Parenting. To make
any GameObject the child of another, drag the
desired child onto the desired parent in the
Hierarchy.
• A child will inherit the movement and rotation
of its parent. You can now expand and
contract the parent to see its children in the
Hierarchy without affecting your game.
Parenting
Two unparented objects One object parented to another
We will learn more about Parenting in the Transform Component topic.
Toolbar
• The Toolbar consists of five basic controls.
Each relate to different parts of the Editor.
Scene View
The Scene View is your interactive sandbox. You will use the Scene View to select and
position environments, the player, the camera, enemies, and all other GameObjects.
Maneuvering and manipulating objects within the Scene View are some of the most
important functions in Unity, so it's important to be able to do them quickly.
Scene View Navigation
• See Scene View Navigation for full details on navigating
the scene view. Here's a brief overview of the essentials:
– Hold the right mouse button to enter Flythrough mode. This
turns your mouse and WASD keys (plus Q and E for up and
down) into quick first-person view navigation.
– Select any GameObject and press the F key. This will center
the Scene View and pivot point on the selection.
– Use the arrow keys to move around on the X/Z plane.
– Hold Alt and click-drag to orbit the camera around the current
pivot point.
– Hold Alt and middle click-drag to drag the Scene View camera
around.
– Hold Alt and right click-drag to zoom the Scene View. This is
the same as scrolling with your mouse wheel.
Scene View Navigation
You might also find use in the Hand Tool (shortcut: Q), especially if you
are using a one-button mouse. With the Hand tool is selected,
In the upper-right corner of the Scene View is the Scene Gizmo. This displays
the Scene Camera's current orientation, and allows you to quickly modify
the viewing angle.
Scene View Control Bar
• The Scene View control bar lets you see the scene
in various view modes - Textured, Wireframe,
RGB, Overdraw, and many others. It will also
enable you to see (and hear) in-game lighting,
game elements, and sound in the Scene View. See
View Modes for all the details.
Game View
• The Game View is rendered from the
Camera(s) in your game. It is representative of
your final, published game. You will need to
use one or more Cameras to control what the
player actually sees when they are playing
your game. We will discuss more about
Cameras, in the Camera Component page.
Play Mode
• Use the buttons in the Toolbar to control the
Editor Play Mode and see how your published
game will play. While in Play mode, any
changes you make are temporary, and will be
reset when you exit Play mode. The Editor UI
will darken to remind you of this.
Game View Control Bar
• The first drop-down on the Game View control bar is the Aspect
Drop-down. Here, you can force the aspect ratio of the Game View
window to different values. It can be used to test how your game
will look on monitors with different aspect ratios.
• Further to the right is the Maximize on Play toggle. While enabled,
the Game View will maximize itself to 100% of your Editor Window
for a nice full-screen preview when you enter Play mode.
• Continuing to the right is the Gizmos toggle. While enabled, all
Gizmos that appear in Scene View will also be drawn in Game View.
This includes Gizmos drawn using any of the Gizmos class functions.
• Finally we have the Stats button. This shows Rendering Statistics
window that is very useful for Optimizing Graphics Performance.
Inspector
Inspector
• Games in Unity are made up of multiple GameObjects that contain
meshes, scripts, sounds, or other graphical elements like Lights. The
Inspector displays detailed information about your currently
selected GameObject, including all attached Components and their
properties. Here, you modify the functionality of GameObjects in
your scene. Later we will discuss more about about the
GameObject-Component relationship.
• Any property that is displayed in the Inspector can be directly
modified. Even script variables can be changed without modifying
the script itself. You can use the Inspector to change variables at
runtime to experiment and find the magic gameplay for your game.
In a script, if you define a public variable of an object type (like
GameObject or Transform), you can drag and drop a GameObject or
Prefab into the Inspector to make the assignment.
Inspector
Assigning script variable in
the inspector window
Click the question mark beside any
Component name in the Inspector to
load its Component Reference page.
Please view the Component Reference
for a complete and detailed guide to all
of Unity's Components.
Inspector
• Use the Layer drop-down to assign a rendering Layer to the
GameObject. Use the Tag drop-down to assign a Tag to this
GameObject.
Other Views
• The Console shows logs of messages, warnings, and
errors.
• The Animation View can be used to animate objects in
the scene.
• The Profiler can be used to investigate and find the
performance bottle-necks in your game.
• The Asset Server View can be used to manage version
control of the project using Unity's Asset Server.
• The Lightmapping View can be used to manage
lightmaps using Unity's built-in lightmapping.
• The Occlusion Culling View can be used to manage
Occlusion Culling for improved performance.
Customizing Your Workspace
You can customize your Layout of Views by click-dragging the Tab of any View to one
of several locations. Dropping a Tab in the Tab Area of an existing window will add the
Tab beside any existing Tabs. Alternatively, dropping a Tab in any Dock Zone will add
the View in a new window.
Asset Workflow
• Here we'll explain the steps to use a single
asset with Unity. These steps are general and
are meant only as an overview for basic
actions. For the example, we'll talk about
using a 3D mesh.
Create Rough Asset
• Use any supported 3D modeling package to create a rough version of your
asset. Our example will use Maya. Work with the asset until you are ready
to save. For a list of applications that are supported by Unity:
• Maya
• Cinema 4D
• 3ds Max
• Cheetah3D
• Modo
• Lightwave
• Blender
• Other applications: unity can read .FBX, .dae, .3DS, .dxf and .obj files, so if
your program can export to this format you're home free. FBX exporters
for popular 3D packages can be found here. Many packages also have a
Collada exporter available.
Import
• When you save your asset initially, you should save it normally to
the Assets folder in your Project folder.
• When you open the Unity project, the asset will be detected and
imported into the project. When you look in the Project View, you'll
see the asset located there, right where you saved it.
• Note that Unity uses the FBX exporter provided by your modeling
package to convert your models to the FBX file format. You will
need to have the FBX exporter of your modeling package available
for Unity to use.
• Alternatively, you can directly export as FBX from your application
and save in the Projects folder. For a list of applications that are
supported by Unity, please see this page.
Adding Asset to the Scene
• Simply click and drag the mesh from the
Project View to the Hierarchy or Scene View to
add it to the Scene. When you drag a mesh to
the scene, you are creating a GameObject that
has a Mesh Renderer Component.
• If you are working with a texture or a sound
file, you will have to add it to a GameObject
that already exists in the Scene or Project.
Putting Different Assets Together
• Here is a brief description of the relationships
between the most common assets
– A Texture is applied to a Material
– A Material is applied to a GameObject (with a
Mesh Renderer Component)
– An Animation is applied to a GameObject (with an
Animation Component)
– A sound file is applied to a GameObject (with an
Audio Source Component)
Creating a Prefab
• Prefabs are a collection of GameObjects & Components
that can be re-used in your scenes. Several identical objects
can be created from a single Prefab, called instancing.
• Take trees for example. Creating a tree Prefab will allow you
to instance several identical trees and place them in your
scene. Because the trees are all linked to the Prefab, any
changes that are made to the Prefab will automatically be
applied to all tree instances. So if you want to change the
mesh, material, or anything else, you just make the change
once in the Prefab and all the other trees inherit the
change. You can also make changes to an instance, and
choose GameObject->Apply Changes to Prefab from the
main menu. This can save you lots of time during setup and
updating of assets.
Creating a Prefab
• When you have a GameObject that contains multiple
Components and a hierarchy of child GameObjects,
you can make a Prefab of the top-level GameObject (or
root), and re-use the entire collection of GameObjects.
• Think of a Prefab as a blueprint for a structure of
GameObjects. All the Prefab clones are identical to the
blueprint. Therefore, if the blueprint is updated, so are
all the clones. There are different ways you can update
the Prefab itself by changing one of its clones and
applying those changes to the blueprint. We will
explain more about this in Prefabs page.
Creating Prefab
• To create a Prefab from a GameObject in your
scene
• Create a new Prefab in your Project View.
• Name the new Prefab whatever you like.
• Click on the Game Object in the scene that you
want to make into a Prefab. Drag it to the new
Prefab
• You should see the Game Object's name text turn
blue.
• You have now created a re-usable prefab.
Updating Assets
• You have imported, instantiated, and linked your asset to a
Prefab.
• Now when you want to edit your source asset, just double-
click it from the Project View.
• The appropriate application will launch, and you can make
any changes you want.
• When you're done updating it, just Save it.
• Then, when you switch back to Unity, the update will be
detected, and the asset will be re-imported.
• The asset's link to the Prefab will also be maintained.
• So the effect you will see is that your Prefab will
update.That's all you have to know to update assets. Just
open it and save!
Creating Scenes
• Scenes contain the objects of your game.
• They can be used to create a main menu,
individual levels, and anything else.
• Think of each unique Scene file as a unique
level.
• In each Scene, you will place your
environments, obstacles, and decorations,
essentially designing and building your game
in pieces.
Instancing Prefabs
• Once you've created a Prefab, you can quickly
and easily make copies of the Prefab, called an
Instance.
• To create an instance of any Prefab, drag the
Prefab from the Project View to the Hierarchy
or Scene View.
• Now you have a unique instance of your
Prefab to position and tweak as you like.
Adding Component & Scripts
• When you have a Prefab or any GameObject highlighted,
you can add additional functionality to it by using
Components.
• Scripts are a type of Component.
• To add a Component, just highlight your GameObject and
select a Component from the Component menu. You will
then see the Component appear in the Inspector of the
GameObject. Scripts are also contained in the Component
menu by default.
• If adding a Component breaks the GameObject's
connection to its Prefab, you can always use GameObject-
>Apply Changes to Prefab from the menu to re-establish
the link.
Placing GameObjects
• Once your GameObject is in the scene, you
can use the Transform Tools to position it
wherever you like.
• Additionally, you can use the Transform values
in the Inspector to fine-tune placement and
rotation.
Working with Cameras
• You can position, rotate, and parent cameras just like
any other GameObject.
• A camera is just a GameObject with a Camera
Component attached to it.
• Therefore it can do anything a regular GameObject can
do, and then some camera-specific functions too.
• There are also some helpful Camera scripts that are
installed with the standard assets package when you
create a new project. You can find them in
Components->Camera-Control from the menu.
Lights
• Except for some very few cases, you will always
need to add Lights to your scene.
• There are three different types of lights, and all of
them behave a little differently from each other.
The important thing is that they add atmosphere
and ambience to your game.
• Different lighting can completely change the
mood of your game, and using lights effectively
will be an important subject to learn.
Publishing Builds
• At any time while you are creating your game,
you might want to see how it looks when you
build and run it outside of the editor as a
standalone or web player.
• Next we will explain how to access the Build
Settings and how to create different builds of
your games.
Publishing Builds
• File->Build Settings... is the menu item to access the
Build Settings window. It pops up an editable list of the
scenes that will be included when you build your
game.
Publishing Builds
• Games developed with unity may be deployed
to:
• Desktop
– Web Player Streaming
– Offline webplayer deployment
– Building standalone players
• Android

More Related Content

What's hot

Unity 3d Basics
Unity 3d BasicsUnity 3d Basics
Unity 3d Basics
Chaudhry Talha Waseem
 
Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First Game
Sarah Sexton
 
Unity 3d
Unity 3dUnity 3d
Introduction-to-Unity.ppt
Introduction-to-Unity.pptIntroduction-to-Unity.ppt
Introduction-to-Unity.ppt
Gravityboi
 
Unity introduction for programmers
Unity introduction for programmersUnity introduction for programmers
Unity introduction for programmers
Noam Gat
 
Game Development with Unity
Game Development with UnityGame Development with Unity
Game Development with Unity
davidluzgouveia
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
iTawy Community
 
Introduction to Unity
Introduction to UnityIntroduction to Unity
Introduction to Unity
University of Auckland
 
Unity3D Programming
Unity3D ProgrammingUnity3D Programming
Unity3D Programming
Michael Ivanov
 
Mobile AR Lecture6 - Introduction to Unity 3D
Mobile AR Lecture6 - Introduction to Unity 3DMobile AR Lecture6 - Introduction to Unity 3D
Mobile AR Lecture6 - Introduction to Unity 3D
Mark Billinghurst
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine OverviewSharad Mitra
 
UNITY 3D.pptx
UNITY 3D.pptxUNITY 3D.pptx
UNITY 3D.pptx
Omgworkspace
 
Unity 2D game development
Unity 2D game developmentUnity 2D game development
Unity 2D game development
The NineHertz
 
Unity workshop
Unity workshopUnity workshop
Unity workshop
fsxflyer789Productio
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game DevelopmentSumit Jain
 
Game development
Game developmentGame development
Game development
reittes
 
Game Development workshop with Unity3D.
Game Development workshop with Unity3D.Game Development workshop with Unity3D.
Game Development workshop with Unity3D.
Ebtihaj khan
 
Unity 3D game engine seminar
Unity 3D game engine  seminarUnity 3D game engine  seminar
Unity 3D game engine seminar
NikhilThorat15
 
Introduction to Level Design
Introduction to Level DesignIntroduction to Level Design
Introduction to Level Design
Rico Lemba
 
2-Game Design (Game Design and Development)
2-Game Design (Game Design and Development)2-Game Design (Game Design and Development)
2-Game Design (Game Design and Development)
Hafiz Ammar Siddiqui
 

What's hot (20)

Unity 3d Basics
Unity 3d BasicsUnity 3d Basics
Unity 3d Basics
 
Introduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First GameIntroduction to Unity3D and Building your First Game
Introduction to Unity3D and Building your First Game
 
Unity 3d
Unity 3dUnity 3d
Unity 3d
 
Introduction-to-Unity.ppt
Introduction-to-Unity.pptIntroduction-to-Unity.ppt
Introduction-to-Unity.ppt
 
Unity introduction for programmers
Unity introduction for programmersUnity introduction for programmers
Unity introduction for programmers
 
Game Development with Unity
Game Development with UnityGame Development with Unity
Game Development with Unity
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
Introduction to Unity
Introduction to UnityIntroduction to Unity
Introduction to Unity
 
Unity3D Programming
Unity3D ProgrammingUnity3D Programming
Unity3D Programming
 
Mobile AR Lecture6 - Introduction to Unity 3D
Mobile AR Lecture6 - Introduction to Unity 3DMobile AR Lecture6 - Introduction to Unity 3D
Mobile AR Lecture6 - Introduction to Unity 3D
 
Game Engine Overview
Game Engine OverviewGame Engine Overview
Game Engine Overview
 
UNITY 3D.pptx
UNITY 3D.pptxUNITY 3D.pptx
UNITY 3D.pptx
 
Unity 2D game development
Unity 2D game developmentUnity 2D game development
Unity 2D game development
 
Unity workshop
Unity workshopUnity workshop
Unity workshop
 
Introduction to Game Development
Introduction to Game DevelopmentIntroduction to Game Development
Introduction to Game Development
 
Game development
Game developmentGame development
Game development
 
Game Development workshop with Unity3D.
Game Development workshop with Unity3D.Game Development workshop with Unity3D.
Game Development workshop with Unity3D.
 
Unity 3D game engine seminar
Unity 3D game engine  seminarUnity 3D game engine  seminar
Unity 3D game engine seminar
 
Introduction to Level Design
Introduction to Level DesignIntroduction to Level Design
Introduction to Level Design
 
2-Game Design (Game Design and Development)
2-Game Design (Game Design and Development)2-Game Design (Game Design and Development)
2-Game Design (Game Design and Development)
 

Similar to unity basics

Cmd unity withc
Cmd unity withcCmd unity withc
Cmd unity withc
umairnoora
 
Unity - Building Your First Real-Time 3D Project - All Slides
Unity - Building Your First Real-Time 3D Project - All SlidesUnity - Building Your First Real-Time 3D Project - All Slides
Unity - Building Your First Real-Time 3D Project - All Slides
NexusEdgesupport
 
Presentación Unity
Presentación UnityPresentación Unity
Presentación Unity
Laura Milena Parra Navarro
 
Unity - Building your first real-time 3D project
Unity - Building your first real-time 3D projectUnity - Building your first real-time 3D project
Unity - Building your first real-time 3D project
NexusEdgesupport
 
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
noorcon
 
Unity3d scripting tutorial
Unity3d scripting tutorialUnity3d scripting tutorial
Unity3d scripting tutorial
hungnttg
 
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
noorcon
 
Let's make a game unity
Let's make a game   unityLet's make a game   unity
Let's make a game unity
Saija Ketola
 
unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students ppt
KathiriyaParthiv
 
Polybot Onboarding Process
Polybot Onboarding ProcessPolybot Onboarding Process
Polybot Onboarding ProcessNina Park
 
2%20-%20Scripting%20Tutorial
2%20-%20Scripting%20Tutorial2%20-%20Scripting%20Tutorial
2%20-%20Scripting%20Tutorialtutorialsruby
 
2%20-%20Scripting%20Tutorial
2%20-%20Scripting%20Tutorial2%20-%20Scripting%20Tutorial
2%20-%20Scripting%20Tutorialtutorialsruby
 
98 374 Lesson 03-slides
98 374 Lesson 03-slides98 374 Lesson 03-slides
98 374 Lesson 03-slides
Tracie King
 
Getting started with Verold and Three.js
Getting started with Verold and Three.jsGetting started with Verold and Three.js
Getting started with Verold and Three.jsVerold
 
【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能
【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能
【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能
Unity Technologies Japan K.K.
 
Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01
Srijib Roy
 
03 unity 3_d_part_2
03 unity 3_d_part_203 unity 3_d_part_2
03 unity 3_d_part_2
Reham Maher El-Safarini
 

Similar to unity basics (20)

02 unity 3_d_part_1
02 unity 3_d_part_102 unity 3_d_part_1
02 unity 3_d_part_1
 
Cmd unity withc
Cmd unity withcCmd unity withc
Cmd unity withc
 
Unity - Building Your First Real-Time 3D Project - All Slides
Unity - Building Your First Real-Time 3D Project - All SlidesUnity - Building Your First Real-Time 3D Project - All Slides
Unity - Building Your First Real-Time 3D Project - All Slides
 
Presentación Unity
Presentación UnityPresentación Unity
Presentación Unity
 
Unity - Building your first real-time 3D project
Unity - Building your first real-time 3D projectUnity - Building your first real-time 3D project
Unity - Building your first real-time 3D project
 
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 2 (Preview)
 
Unity3d scripting tutorial
Unity3d scripting tutorialUnity3d scripting tutorial
Unity3d scripting tutorial
 
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
Introduction to Game Programming: Using C# and Unity 3D - Chapter 3 (Preview)
 
Let's make a game unity
Let's make a game   unityLet's make a game   unity
Let's make a game unity
 
unity gaming programing basics for students ppt
unity gaming programing basics for students pptunity gaming programing basics for students ppt
unity gaming programing basics for students ppt
 
Polybot Onboarding Process
Polybot Onboarding ProcessPolybot Onboarding Process
Polybot Onboarding Process
 
Unity 3d scripting tutorial
Unity 3d scripting tutorialUnity 3d scripting tutorial
Unity 3d scripting tutorial
 
2%20-%20Scripting%20Tutorial
2%20-%20Scripting%20Tutorial2%20-%20Scripting%20Tutorial
2%20-%20Scripting%20Tutorial
 
2%20-%20Scripting%20Tutorial
2%20-%20Scripting%20Tutorial2%20-%20Scripting%20Tutorial
2%20-%20Scripting%20Tutorial
 
98 374 Lesson 03-slides
98 374 Lesson 03-slides98 374 Lesson 03-slides
98 374 Lesson 03-slides
 
Getting started with Verold and Three.js
Getting started with Verold and Three.jsGetting started with Verold and Three.js
Getting started with Verold and Three.js
 
【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能
【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能
【Unite 2017 Tokyo】Unity UI最適化ガイド 〜ベストプラクティスと新機能
 
3 d modeling part 3
3 d modeling part 33 d modeling part 3
3 d modeling part 3
 
Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01Workingwithunity 110519054824-phpapp01
Workingwithunity 110519054824-phpapp01
 
03 unity 3_d_part_2
03 unity 3_d_part_203 unity 3_d_part_2
03 unity 3_d_part_2
 

More from Reham Maher El-Safarini

Ux
Ux Ux
Global threat-landscape report by fortinet.
Global threat-landscape report by fortinet.Global threat-landscape report by fortinet.
Global threat-landscape report by fortinet.
Reham Maher El-Safarini
 
Dynamics AX/ X++
Dynamics AX/ X++Dynamics AX/ X++
Dynamics AX/ X++
Reham Maher El-Safarini
 
Microsoft sql-and-the-gdpr
Microsoft sql-and-the-gdprMicrosoft sql-and-the-gdpr
Microsoft sql-and-the-gdpr
Reham Maher El-Safarini
 
AWS Cloud economics
AWS Cloud economicsAWS Cloud economics
AWS Cloud economics
Reham Maher El-Safarini
 
Cloud skills development
Cloud skills developmentCloud skills development
Cloud skills development
Reham Maher El-Safarini
 
AWS cloud adoption framework (caf)
AWS cloud adoption framework (caf)AWS cloud adoption framework (caf)
AWS cloud adoption framework (caf)
Reham Maher El-Safarini
 
Application and database migration workshop
Application and database migration workshopApplication and database migration workshop
Application and database migration workshop
Reham Maher El-Safarini
 
Containers on AWS
Containers on AWSContainers on AWS
Containers on AWS
Reham Maher El-Safarini
 
Security and governance with aws control tower and aws organizations
Security and governance with aws control tower and aws organizationsSecurity and governance with aws control tower and aws organizations
Security and governance with aws control tower and aws organizations
Reham Maher El-Safarini
 
Digital transformation on aws
Digital transformation on awsDigital transformation on aws
Digital transformation on aws
Reham Maher El-Safarini
 
Security in the cloud
Security in the cloudSecurity in the cloud
Security in the cloud
Reham Maher El-Safarini
 
2. migration, disaster recovery and business continuity in the cloud
2. migration, disaster recovery and business continuity in the cloud2. migration, disaster recovery and business continuity in the cloud
2. migration, disaster recovery and business continuity in the cloud
Reham Maher El-Safarini
 
1. aws overview
1. aws overview1. aws overview
1. aws overview
Reham Maher El-Safarini
 
Pgp
PgpPgp
ssl for securing
ssl for securingssl for securing
ssl for securing
Reham Maher El-Safarini
 
01 unity 3_d_introduction
01 unity 3_d_introduction01 unity 3_d_introduction
01 unity 3_d_introduction
Reham Maher El-Safarini
 
Introduction to OS.
Introduction to OS.Introduction to OS.
Introduction to OS.
Reham Maher El-Safarini
 
Process threads operating system.
Process threads operating system.Process threads operating system.
Process threads operating system.
Reham Maher El-Safarini
 
The history Internet.
The history Internet.The history Internet.
The history Internet.
Reham Maher El-Safarini
 

More from Reham Maher El-Safarini (20)

Ux
Ux Ux
Ux
 
Global threat-landscape report by fortinet.
Global threat-landscape report by fortinet.Global threat-landscape report by fortinet.
Global threat-landscape report by fortinet.
 
Dynamics AX/ X++
Dynamics AX/ X++Dynamics AX/ X++
Dynamics AX/ X++
 
Microsoft sql-and-the-gdpr
Microsoft sql-and-the-gdprMicrosoft sql-and-the-gdpr
Microsoft sql-and-the-gdpr
 
AWS Cloud economics
AWS Cloud economicsAWS Cloud economics
AWS Cloud economics
 
Cloud skills development
Cloud skills developmentCloud skills development
Cloud skills development
 
AWS cloud adoption framework (caf)
AWS cloud adoption framework (caf)AWS cloud adoption framework (caf)
AWS cloud adoption framework (caf)
 
Application and database migration workshop
Application and database migration workshopApplication and database migration workshop
Application and database migration workshop
 
Containers on AWS
Containers on AWSContainers on AWS
Containers on AWS
 
Security and governance with aws control tower and aws organizations
Security and governance with aws control tower and aws organizationsSecurity and governance with aws control tower and aws organizations
Security and governance with aws control tower and aws organizations
 
Digital transformation on aws
Digital transformation on awsDigital transformation on aws
Digital transformation on aws
 
Security in the cloud
Security in the cloudSecurity in the cloud
Security in the cloud
 
2. migration, disaster recovery and business continuity in the cloud
2. migration, disaster recovery and business continuity in the cloud2. migration, disaster recovery and business continuity in the cloud
2. migration, disaster recovery and business continuity in the cloud
 
1. aws overview
1. aws overview1. aws overview
1. aws overview
 
Pgp
PgpPgp
Pgp
 
ssl for securing
ssl for securingssl for securing
ssl for securing
 
01 unity 3_d_introduction
01 unity 3_d_introduction01 unity 3_d_introduction
01 unity 3_d_introduction
 
Introduction to OS.
Introduction to OS.Introduction to OS.
Introduction to OS.
 
Process threads operating system.
Process threads operating system.Process threads operating system.
Process threads operating system.
 
The history Internet.
The history Internet.The history Internet.
The history Internet.
 

Recently uploaded

Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Mind IT Systems
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
Paco van Beckhoven
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
Globus
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 

Recently uploaded (20)

Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024Cracking the code review at SpringIO 2024
Cracking the code review at SpringIO 2024
 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 

unity basics

  • 4. Project View • Every Unity project contains an Assets folder. • The contents of this folder are presented in the Project View. • This is where you store all the assets that make up your game, like scenes, scripts, 3D models, textures, audio files, and Prefabs. • If you right-click on any asset in the Project View, you can choose Reveal in Explorer (Reveal in Finder on Mac) to actually see the asset itself in your file system.
  • 5. Project View • To add assets to your project, you can drag any file from your OS into the Project View, or use Assets- >Import New Asset. Your asset is now ready to be used in your game. More information about working with assets to be presented later in Asset Workflow. • Scenes are also stored in the Project View. Think of these as individual levels. To create a new Scene, use Control-N. To save the current Scene into the Project View, use Control-S. • Some game assets need to be created from within Unity. To do this, use the Create drop-down, or right click->Create. (see the image in the next slide)
  • 6. Creating new Asset This will allow you to add scripts, Prefabs, or folders to keep your project organized. You can rename any asset/folder by pressing F2 on Windows, or with two paced clicks on the asset name. If you hold the Alt key while you expand or contract a directory, all subdirectories will also be expanded or contracted.
  • 7. Hierarchy • The Hierarchy contains every GameObject in the current Scene. • GameObject are: – Direct instances of asset files like 3D models. – Instances of Prefabs • As objects are added and removed from the scene, they will appear and disappear from the Hierarchy as well.
  • 8. Parenting • Unity uses a concept called Parenting. To make any GameObject the child of another, drag the desired child onto the desired parent in the Hierarchy. • A child will inherit the movement and rotation of its parent. You can now expand and contract the parent to see its children in the Hierarchy without affecting your game.
  • 9. Parenting Two unparented objects One object parented to another We will learn more about Parenting in the Transform Component topic.
  • 10. Toolbar • The Toolbar consists of five basic controls. Each relate to different parts of the Editor.
  • 11. Scene View The Scene View is your interactive sandbox. You will use the Scene View to select and position environments, the player, the camera, enemies, and all other GameObjects. Maneuvering and manipulating objects within the Scene View are some of the most important functions in Unity, so it's important to be able to do them quickly.
  • 12. Scene View Navigation • See Scene View Navigation for full details on navigating the scene view. Here's a brief overview of the essentials: – Hold the right mouse button to enter Flythrough mode. This turns your mouse and WASD keys (plus Q and E for up and down) into quick first-person view navigation. – Select any GameObject and press the F key. This will center the Scene View and pivot point on the selection. – Use the arrow keys to move around on the X/Z plane. – Hold Alt and click-drag to orbit the camera around the current pivot point. – Hold Alt and middle click-drag to drag the Scene View camera around. – Hold Alt and right click-drag to zoom the Scene View. This is the same as scrolling with your mouse wheel.
  • 13. Scene View Navigation You might also find use in the Hand Tool (shortcut: Q), especially if you are using a one-button mouse. With the Hand tool is selected, In the upper-right corner of the Scene View is the Scene Gizmo. This displays the Scene Camera's current orientation, and allows you to quickly modify the viewing angle.
  • 14. Scene View Control Bar • The Scene View control bar lets you see the scene in various view modes - Textured, Wireframe, RGB, Overdraw, and many others. It will also enable you to see (and hear) in-game lighting, game elements, and sound in the Scene View. See View Modes for all the details.
  • 15. Game View • The Game View is rendered from the Camera(s) in your game. It is representative of your final, published game. You will need to use one or more Cameras to control what the player actually sees when they are playing your game. We will discuss more about Cameras, in the Camera Component page.
  • 16. Play Mode • Use the buttons in the Toolbar to control the Editor Play Mode and see how your published game will play. While in Play mode, any changes you make are temporary, and will be reset when you exit Play mode. The Editor UI will darken to remind you of this.
  • 17. Game View Control Bar • The first drop-down on the Game View control bar is the Aspect Drop-down. Here, you can force the aspect ratio of the Game View window to different values. It can be used to test how your game will look on monitors with different aspect ratios. • Further to the right is the Maximize on Play toggle. While enabled, the Game View will maximize itself to 100% of your Editor Window for a nice full-screen preview when you enter Play mode. • Continuing to the right is the Gizmos toggle. While enabled, all Gizmos that appear in Scene View will also be drawn in Game View. This includes Gizmos drawn using any of the Gizmos class functions. • Finally we have the Stats button. This shows Rendering Statistics window that is very useful for Optimizing Graphics Performance.
  • 19. Inspector • Games in Unity are made up of multiple GameObjects that contain meshes, scripts, sounds, or other graphical elements like Lights. The Inspector displays detailed information about your currently selected GameObject, including all attached Components and their properties. Here, you modify the functionality of GameObjects in your scene. Later we will discuss more about about the GameObject-Component relationship. • Any property that is displayed in the Inspector can be directly modified. Even script variables can be changed without modifying the script itself. You can use the Inspector to change variables at runtime to experiment and find the magic gameplay for your game. In a script, if you define a public variable of an object type (like GameObject or Transform), you can drag and drop a GameObject or Prefab into the Inspector to make the assignment.
  • 20. Inspector Assigning script variable in the inspector window Click the question mark beside any Component name in the Inspector to load its Component Reference page. Please view the Component Reference for a complete and detailed guide to all of Unity's Components.
  • 21. Inspector • Use the Layer drop-down to assign a rendering Layer to the GameObject. Use the Tag drop-down to assign a Tag to this GameObject.
  • 22. Other Views • The Console shows logs of messages, warnings, and errors. • The Animation View can be used to animate objects in the scene. • The Profiler can be used to investigate and find the performance bottle-necks in your game. • The Asset Server View can be used to manage version control of the project using Unity's Asset Server. • The Lightmapping View can be used to manage lightmaps using Unity's built-in lightmapping. • The Occlusion Culling View can be used to manage Occlusion Culling for improved performance.
  • 23. Customizing Your Workspace You can customize your Layout of Views by click-dragging the Tab of any View to one of several locations. Dropping a Tab in the Tab Area of an existing window will add the Tab beside any existing Tabs. Alternatively, dropping a Tab in any Dock Zone will add the View in a new window.
  • 24. Asset Workflow • Here we'll explain the steps to use a single asset with Unity. These steps are general and are meant only as an overview for basic actions. For the example, we'll talk about using a 3D mesh.
  • 25. Create Rough Asset • Use any supported 3D modeling package to create a rough version of your asset. Our example will use Maya. Work with the asset until you are ready to save. For a list of applications that are supported by Unity: • Maya • Cinema 4D • 3ds Max • Cheetah3D • Modo • Lightwave • Blender • Other applications: unity can read .FBX, .dae, .3DS, .dxf and .obj files, so if your program can export to this format you're home free. FBX exporters for popular 3D packages can be found here. Many packages also have a Collada exporter available.
  • 26. Import • When you save your asset initially, you should save it normally to the Assets folder in your Project folder. • When you open the Unity project, the asset will be detected and imported into the project. When you look in the Project View, you'll see the asset located there, right where you saved it. • Note that Unity uses the FBX exporter provided by your modeling package to convert your models to the FBX file format. You will need to have the FBX exporter of your modeling package available for Unity to use. • Alternatively, you can directly export as FBX from your application and save in the Projects folder. For a list of applications that are supported by Unity, please see this page.
  • 27. Adding Asset to the Scene • Simply click and drag the mesh from the Project View to the Hierarchy or Scene View to add it to the Scene. When you drag a mesh to the scene, you are creating a GameObject that has a Mesh Renderer Component. • If you are working with a texture or a sound file, you will have to add it to a GameObject that already exists in the Scene or Project.
  • 28. Putting Different Assets Together • Here is a brief description of the relationships between the most common assets – A Texture is applied to a Material – A Material is applied to a GameObject (with a Mesh Renderer Component) – An Animation is applied to a GameObject (with an Animation Component) – A sound file is applied to a GameObject (with an Audio Source Component)
  • 29. Creating a Prefab • Prefabs are a collection of GameObjects & Components that can be re-used in your scenes. Several identical objects can be created from a single Prefab, called instancing. • Take trees for example. Creating a tree Prefab will allow you to instance several identical trees and place them in your scene. Because the trees are all linked to the Prefab, any changes that are made to the Prefab will automatically be applied to all tree instances. So if you want to change the mesh, material, or anything else, you just make the change once in the Prefab and all the other trees inherit the change. You can also make changes to an instance, and choose GameObject->Apply Changes to Prefab from the main menu. This can save you lots of time during setup and updating of assets.
  • 30. Creating a Prefab • When you have a GameObject that contains multiple Components and a hierarchy of child GameObjects, you can make a Prefab of the top-level GameObject (or root), and re-use the entire collection of GameObjects. • Think of a Prefab as a blueprint for a structure of GameObjects. All the Prefab clones are identical to the blueprint. Therefore, if the blueprint is updated, so are all the clones. There are different ways you can update the Prefab itself by changing one of its clones and applying those changes to the blueprint. We will explain more about this in Prefabs page.
  • 31. Creating Prefab • To create a Prefab from a GameObject in your scene • Create a new Prefab in your Project View. • Name the new Prefab whatever you like. • Click on the Game Object in the scene that you want to make into a Prefab. Drag it to the new Prefab • You should see the Game Object's name text turn blue. • You have now created a re-usable prefab.
  • 32. Updating Assets • You have imported, instantiated, and linked your asset to a Prefab. • Now when you want to edit your source asset, just double- click it from the Project View. • The appropriate application will launch, and you can make any changes you want. • When you're done updating it, just Save it. • Then, when you switch back to Unity, the update will be detected, and the asset will be re-imported. • The asset's link to the Prefab will also be maintained. • So the effect you will see is that your Prefab will update.That's all you have to know to update assets. Just open it and save!
  • 33. Creating Scenes • Scenes contain the objects of your game. • They can be used to create a main menu, individual levels, and anything else. • Think of each unique Scene file as a unique level. • In each Scene, you will place your environments, obstacles, and decorations, essentially designing and building your game in pieces.
  • 34. Instancing Prefabs • Once you've created a Prefab, you can quickly and easily make copies of the Prefab, called an Instance. • To create an instance of any Prefab, drag the Prefab from the Project View to the Hierarchy or Scene View. • Now you have a unique instance of your Prefab to position and tweak as you like.
  • 35. Adding Component & Scripts • When you have a Prefab or any GameObject highlighted, you can add additional functionality to it by using Components. • Scripts are a type of Component. • To add a Component, just highlight your GameObject and select a Component from the Component menu. You will then see the Component appear in the Inspector of the GameObject. Scripts are also contained in the Component menu by default. • If adding a Component breaks the GameObject's connection to its Prefab, you can always use GameObject- >Apply Changes to Prefab from the menu to re-establish the link.
  • 36. Placing GameObjects • Once your GameObject is in the scene, you can use the Transform Tools to position it wherever you like. • Additionally, you can use the Transform values in the Inspector to fine-tune placement and rotation.
  • 37. Working with Cameras • You can position, rotate, and parent cameras just like any other GameObject. • A camera is just a GameObject with a Camera Component attached to it. • Therefore it can do anything a regular GameObject can do, and then some camera-specific functions too. • There are also some helpful Camera scripts that are installed with the standard assets package when you create a new project. You can find them in Components->Camera-Control from the menu.
  • 38. Lights • Except for some very few cases, you will always need to add Lights to your scene. • There are three different types of lights, and all of them behave a little differently from each other. The important thing is that they add atmosphere and ambience to your game. • Different lighting can completely change the mood of your game, and using lights effectively will be an important subject to learn.
  • 39. Publishing Builds • At any time while you are creating your game, you might want to see how it looks when you build and run it outside of the editor as a standalone or web player. • Next we will explain how to access the Build Settings and how to create different builds of your games.
  • 40. Publishing Builds • File->Build Settings... is the menu item to access the Build Settings window. It pops up an editable list of the scenes that will be included when you build your game.
  • 41. Publishing Builds • Games developed with unity may be deployed to: • Desktop – Web Player Streaming – Offline webplayer deployment – Building standalone players • Android