SlideShare a Scribd company logo
1 of 29
UNITY 3D
Getting Started
Start->Programs->Unity on Windows, or Applications->Unity on Mac. The
Unity Editor will appear. Take your time to look over the Unity Editor interface
and familiarize yourself with it. The Main Editor Window is made up of
several Tabbed Windows, called Views. There are several types of Views in
Unity, each with a specific purpose.
EveryUnityprojectcontainsanAssetsfolder.The contentsof thisfolderare presentedin the Project
View.Thisiswhere you store allthe assetsthat make up your game, like scenes,scripts,3D models,
textures, audiofiles,and Prefabs. If you right-clickon any assetin the ProjectView,you can choose
RevealinExplorer(RevealinFinderon Mac) to actuallysee the assetitselfin your filesystem.
Important Note:You shouldnever move projectassetsaroundusingthe OS sincethis willbreak any
metadataassociatedwiththe asset..
Always usethe ProjectViewto organizeyour assets.
To add assetsto your project,you can drag anyfilefrom your OS intothe ProjectView,or useAssets-
>Import NewAsset.Your assetis nowready to be usedin your game.
• Scenes are also stored in the Project View. Think of these as
individual levels. For example, the Islands Scene loads by default
when Unity first launches. To create a new Scene, use Control-N
(Command-N on Mac). To save the current Scene into the Project
View, use Control-S (Command-S on Mac).
• Some game assets need to be created from within Unity. To do this,
use the Create drop-down, or right click->Create.
• The Create drop-down
• 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 Enter on Mac, 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.
• The Hierarchy contains every GameObject in the current
Scene. Some of these are direct instances of asset files
like 3D models, and others are instances of Prefabs --
custom objects that will make up much of your game. You
can select and Parent objects in the Hierarchy. As objects
are added and removed from the scene, they will appear
and disappear from the Hierarchy as well.
Parenting
• 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 is one of the most important concepts to understand when using Unity. When a GameObject
is a Parent of another GameObject, the Child GameObject will move, rotate, and scale exactly as its
Parent does. Just like your arms are attached to your body, when you turn your body, your arms move
because they're attached. Any object can have multiple children, but only one parent.
You can create a Parent by dragging any GameObject in the Hierarchy View onto another. This will
create a Parent-Child relationship between the two GameObjects.
• The Toolbar consists of five basic controls. Each relate to different
parts of the Editor.
• Transform Tools -- used with the Scene View
• ]
Transform Gizmo Toggles -- affect the Scene View display
•
Play/Pause/Step Buttons -- used with the Game View
•
Layers Drop-down -- controls which objects are displayed in Scene View
•
Layout Drop-down -- controls arrangement of all Views
• 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.
• 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.
• 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,
Click-drag to drag the camera around.
Hold Alt and click-drag to orbit the camera around the current pivot point.
Hold Control (Command on Mac) and click-drag to zoom the camera.
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.
You can click on any of the arms to snap the Scene Camera to that direction and
change it to Isometric Mode. While in Isometric Mode, you can right-click drag to
orbit, and Alt-click drag to pan. To exit this mode, click the middle of the Scene
Gizmo. You can also Shift-click the middle of the Scene Gizmo any time to toggle
Isometric Mode.
Gizmo shape
Gizmo Display Toggles
• he Gizmo Display Toggles are used to define the location of
any Transform Gizmo.
Gizmo Display Toggles
Position:
Center will position the Gizmo at the center of the object's
rendered bounds.
Pivot will position the Gizmo at the actual pivot point of a Mesh.
Rotation:
• Local will keep the Gizmo's rotation relative to the object's.
• Global will clamp the Gizmo to world space orientation.
Perspective Vs Isometric mode
Perspective mode. Isometric mode. Objects do not get
smaller with distance here!
• Use the Transform Tools in the Toolbar to Translate, Rotate,
and Scale individual GameObjects. Each has a corresponding
Gizmo that appears around the selected GameObject in the
Scene View. You can use the mouse and manipulate any
Gizmo axis to alter the Transform Component of the
GameObject, or you can type values directly into the number
fields of the Transform Component in the Inspector.
• Click and drag in the center of the Gizmo to manipulate the
object on all axes at once.
• If you have a three button mouse, you can click the middle
button to adjust the last-adjusted axis (which turns yellow)
without clicking directly on it.
• Be careful when using the scaling tool, as non-uniform
scales (e.g. 1,2,1) can cause unusual scaling of child objects.
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.
• Draw Mode
The first drop-down is for choosing a Draw Mode. You can choose to view the entire scene Textured,
Wireframe, Tex - Wire, Render Paths, or Lightmap Resolution. This has no effect on your game when
it is published.
Draw Mode drop-down:
Textured shows surfaces with their textures on, like in the game.
Wireframe shows the wireframes of the meshes in the scene.
Tex - Wire shows wireframes on top of the textures.
Render Paths shows which rendering paths objects are using. Green: deferred lighting,
yellow: forward, red: vertex lit.
Lightmap Resolution shows a checkered grid overlaid on the scene that corresponds to the
resolution of the lightmaps, to make it easier to see if they have the right resolution.
• Render Mode
• The next drop-down is for choosing one of four Render Modes. You can choose to fill the
Scene View with RGB, Alpha, Overdraw, or Mipmaps. Again, this will not affect your
published game.
• Render Mode drop-down :
• RGB is simply all the colors of your game rendered as normal.
• Alpha will render all alpha values for fine-tuning transparency or fullscreen effects that make
use of alpha values.
• Overdraw will indicate how much of the screen is consuming overdraw time.
• Mipmaps shows ideal texture sizes -- red means the particular texture is larger than
necessary (at the current distance and resolution), while blue means the texture could be
larger. Of course ideal texture sizes depend on the resolution the game will run at, and how
close the camera can get to the respective surfaces.
• Scene Lighting, Game Overlay, and Audition Mode
Enabling Scene Lighting will override the default Scene View lighting with whatever lights you have
positioned to create your final light setup.
Enabling Game Overlay will show items like Skyboxes and GUI Elements in the Scene View, and it will
also hide the grid.
Enabling Audition Mode will make AudioSources in the scene play so they can be heard without going
into Play Mode.
• 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.
• 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.
Game View Stats of your game.
• 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.
• 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.
Click the question mark beside any Component name in the Inspector to load
its Component Reference page.
• 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.
• Double-clicking an error in the Status Bar or choosing
Window->Console will bring up the Console.
• The Console shows messages, warnings, errors, or debug output from your game. You can define
your own messages to be sent to the Console using Debug.Log(), Debug.LogWarning, or
Debug.LogError(). You can double-click any message to be taken to the script that caused the
message. You also have a number of options on the Console Toolbar.
Console control toolbar helps your filter your debug output. Pressing Clear will remove all current
messages from the Console.
When Collapse is enabled, identical messages will only be shown once.
When Clear on play is enabled, all messages will be removed from the Console every time you go into
Play mode.
When Error Pause is enabled, Debug.LogError() will cause the pause to occur but Debug.Log() will not.
Pressing Open Player Log will open the Player Log in a text editor (or using the Console app on Mac).
Pressing Open Player Log will open the Editor Log in a text editor
• The Animation View in Unity allows you create and modify Animation Clips directly inside Unity. It is
meant to be a powerful and easy tool that can supplement external 3D animation programs or even
be used instead. It is great for creating simple Animation Clips, and has the added benefits of being
able to animate variables of materials and components, and add Animation Events to Animation
Clips that can call script functions at specific points in time

More Related Content

What's hot

Chapt 2 storyboarding techniques
Chapt 2   storyboarding techniquesChapt 2   storyboarding techniques
Chapt 2 storyboarding techniques
Muhd Basheer
 
Chapt 5 behaviors and attributes
Chapt 5   behaviors and attributesChapt 5   behaviors and attributes
Chapt 5 behaviors and attributes
Muhd Basheer
 
Chapt 1 (part 2) installing the sdk and exploring the workspace
Chapt 1 (part 2)   installing the sdk and exploring the workspaceChapt 1 (part 2)   installing the sdk and exploring the workspace
Chapt 1 (part 2) installing the sdk and exploring the workspace
Muhd Basheer
 

What's hot (17)

Chapt 2 storyboarding techniques
Chapt 2   storyboarding techniquesChapt 2   storyboarding techniques
Chapt 2 storyboarding techniques
 
Technical document - BadBug Studio - Xbox Game
Technical document - BadBug Studio - Xbox GameTechnical document - BadBug Studio - Xbox Game
Technical document - BadBug Studio - Xbox Game
 
Star logo nova code cookbook
Star logo nova  code cookbookStar logo nova  code cookbook
Star logo nova code cookbook
 
2d game engine workflow
2d game engine workflow2d game engine workflow
2d game engine workflow
 
Chapt 5 behaviors and attributes
Chapt 5   behaviors and attributesChapt 5   behaviors and attributes
Chapt 5 behaviors and attributes
 
Chapt 1 (part 2) installing the sdk and exploring the workspace
Chapt 1 (part 2)   installing the sdk and exploring the workspaceChapt 1 (part 2)   installing the sdk and exploring the workspace
Chapt 1 (part 2) installing the sdk and exploring the workspace
 
How to make ppt
How to make pptHow to make ppt
How to make ppt
 
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
 
roldan
roldanroldan
roldan
 
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)
 
waagen-ecard
waagen-ecardwaagen-ecard
waagen-ecard
 
unity basics
unity basicsunity basics
unity basics
 
2D Top-down shooter workflow
2D Top-down shooter workflow2D Top-down shooter workflow
2D Top-down shooter workflow
 
Silverlight as a Gaming Platform
Silverlight as a Gaming PlatformSilverlight as a Gaming Platform
Silverlight as a Gaming Platform
 
Ppt exercise
Ppt exercisePpt exercise
Ppt exercise
 
Grade 4 Computer
Grade 4 Computer Grade 4 Computer
Grade 4 Computer
 
Lecture 2: C# Programming for VR application in Unity
Lecture 2: C# Programming for VR application in UnityLecture 2: C# Programming for VR application in Unity
Lecture 2: C# Programming for VR application in Unity
 

Similar to 02 unity 3_d_part_1

Ac fr ogbzlj0hfgtuukn7qgwbjin09jlfvybtul26nfmcsos0gwpnx_im_kpn1bvazhycx3m6xcq...
Ac fr ogbzlj0hfgtuukn7qgwbjin09jlfvybtul26nfmcsos0gwpnx_im_kpn1bvazhycx3m6xcq...Ac fr ogbzlj0hfgtuukn7qgwbjin09jlfvybtul26nfmcsos0gwpnx_im_kpn1bvazhycx3m6xcq...
Ac fr ogbzlj0hfgtuukn7qgwbjin09jlfvybtul26nfmcsos0gwpnx_im_kpn1bvazhycx3m6xcq...
dendipermadi
 
Google sketchup8
Google sketchup8Google sketchup8
Google sketchup8
Trianz King
 
Google sketchup8
Google sketchup8Google sketchup8
Google sketchup8
Trianz King
 

Similar to 02 unity 3_d_part_1 (20)

Ac fr ogbzlj0hfgtuukn7qgwbjin09jlfvybtul26nfmcsos0gwpnx_im_kpn1bvazhycx3m6xcq...
Ac fr ogbzlj0hfgtuukn7qgwbjin09jlfvybtul26nfmcsos0gwpnx_im_kpn1bvazhycx3m6xcq...Ac fr ogbzlj0hfgtuukn7qgwbjin09jlfvybtul26nfmcsos0gwpnx_im_kpn1bvazhycx3m6xcq...
Ac fr ogbzlj0hfgtuukn7qgwbjin09jlfvybtul26nfmcsos0gwpnx_im_kpn1bvazhycx3m6xcq...
 
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)
 
03 unity 3_d_part_2
03 unity 3_d_part_203 unity 3_d_part_2
03 unity 3_d_part_2
 
98 374 Lesson 03-slides
98 374 Lesson 03-slides98 374 Lesson 03-slides
98 374 Lesson 03-slides
 
Poser presentation1
Poser presentation1Poser presentation1
Poser presentation1
 
Presentación Unity
Presentación UnityPresentación Unity
Presentación Unity
 
Cmd unity withc
Cmd unity withcCmd unity withc
Cmd unity withc
 
Std 11 Computer Chapter 2 Animation Tool: synfig (Part 2 Different Tools in ...
Std 11 Computer Chapter 2 Animation Tool:  synfig (Part 2 Different Tools in ...Std 11 Computer Chapter 2 Animation Tool:  synfig (Part 2 Different Tools in ...
Std 11 Computer Chapter 2 Animation Tool: synfig (Part 2 Different Tools in ...
 
Robot flash tutorial
Robot flash tutorialRobot flash tutorial
Robot flash tutorial
 
Unity3d scripting tutorial
Unity3d scripting tutorialUnity3d scripting tutorial
Unity3d scripting tutorial
 
Unity 3d Basics
Unity 3d BasicsUnity 3d Basics
Unity 3d Basics
 
Unity - Add components to 3D GameObjects
Unity - Add components to 3D GameObjectsUnity - Add components to 3D GameObjects
Unity - Add components to 3D GameObjects
 
Google sketchup8
Google sketchup8Google sketchup8
Google sketchup8
 
Google sketchup8
Google sketchup8Google sketchup8
Google sketchup8
 
Procedure of animation in 3 d autodesk maya tools & techniques
Procedure of animation in 3 d autodesk maya tools & techniquesProcedure of animation in 3 d autodesk maya tools & techniques
Procedure of animation in 3 d autodesk maya tools & techniques
 
Photoshop
PhotoshopPhotoshop
Photoshop
 
Let's make a game unity
Let's make a game   unityLet's make a game   unity
Let's make a game unity
 
Blender and Bezier Curves for 3D Printing
Blender and Bezier Curves for 3D PrintingBlender and Bezier Curves for 3D Printing
Blender and Bezier Curves for 3D Printing
 
NewTek Lightwave 3D: Working in 3D Space
NewTek Lightwave 3D:  Working in 3D SpaceNewTek Lightwave 3D:  Working in 3D Space
NewTek Lightwave 3D: Working in 3D Space
 

More from 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

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 

Recently uploaded (20)

TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
SHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions PresentationSHRMPro HRMS Software Solutions Presentation
SHRMPro HRMS Software Solutions Presentation
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 

02 unity 3_d_part_1

  • 2. Start->Programs->Unity on Windows, or Applications->Unity on Mac. The Unity Editor will appear. Take your time to look over the Unity Editor interface and familiarize yourself with it. The Main Editor Window is made up of several Tabbed Windows, called Views. There are several types of Views in Unity, each with a specific purpose.
  • 3. EveryUnityprojectcontainsanAssetsfolder.The contentsof thisfolderare presentedin the Project View.Thisiswhere you store allthe assetsthat make up your game, like scenes,scripts,3D models, textures, audiofiles,and Prefabs. If you right-clickon any assetin the ProjectView,you can choose RevealinExplorer(RevealinFinderon Mac) to actuallysee the assetitselfin your filesystem. Important Note:You shouldnever move projectassetsaroundusingthe OS sincethis willbreak any metadataassociatedwiththe asset.. Always usethe ProjectViewto organizeyour assets. To add assetsto your project,you can drag anyfilefrom your OS intothe ProjectView,or useAssets- >Import NewAsset.Your assetis nowready to be usedin your game.
  • 4. • Scenes are also stored in the Project View. Think of these as individual levels. For example, the Islands Scene loads by default when Unity first launches. To create a new Scene, use Control-N (Command-N on Mac). To save the current Scene into the Project View, use Control-S (Command-S on Mac). • Some game assets need to be created from within Unity. To do this, use the Create drop-down, or right click->Create. • The Create drop-down • 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 Enter on Mac, 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.
  • 5. • The Hierarchy contains every GameObject in the current Scene. Some of these are direct instances of asset files like 3D models, and others are instances of Prefabs -- custom objects that will make up much of your game. You can select and Parent objects in the Hierarchy. As objects are added and removed from the scene, they will appear and disappear from the Hierarchy as well.
  • 6.
  • 7. Parenting • 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 is one of the most important concepts to understand when using Unity. When a GameObject is a Parent of another GameObject, the Child GameObject will move, rotate, and scale exactly as its Parent does. Just like your arms are attached to your body, when you turn your body, your arms move because they're attached. Any object can have multiple children, but only one parent. You can create a Parent by dragging any GameObject in the Hierarchy View onto another. This will create a Parent-Child relationship between the two GameObjects.
  • 8. • The Toolbar consists of five basic controls. Each relate to different parts of the Editor. • Transform Tools -- used with the Scene View • ] Transform Gizmo Toggles -- affect the Scene View display • Play/Pause/Step Buttons -- used with the Game View • Layers Drop-down -- controls which objects are displayed in Scene View • Layout Drop-down -- controls arrangement of all Views
  • 9. • 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.
  • 10. • 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. • 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,
  • 11. Click-drag to drag the camera around. Hold Alt and click-drag to orbit the camera around the current pivot point. Hold Control (Command on Mac) and click-drag to zoom the camera. 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. You can click on any of the arms to snap the Scene Camera to that direction and change it to Isometric Mode. While in Isometric Mode, you can right-click drag to orbit, and Alt-click drag to pan. To exit this mode, click the middle of the Scene Gizmo. You can also Shift-click the middle of the Scene Gizmo any time to toggle Isometric Mode. Gizmo shape
  • 12. Gizmo Display Toggles • he Gizmo Display Toggles are used to define the location of any Transform Gizmo. Gizmo Display Toggles Position: Center will position the Gizmo at the center of the object's rendered bounds. Pivot will position the Gizmo at the actual pivot point of a Mesh. Rotation: • Local will keep the Gizmo's rotation relative to the object's. • Global will clamp the Gizmo to world space orientation.
  • 13. Perspective Vs Isometric mode Perspective mode. Isometric mode. Objects do not get smaller with distance here!
  • 14. • Use the Transform Tools in the Toolbar to Translate, Rotate, and Scale individual GameObjects. Each has a corresponding Gizmo that appears around the selected GameObject in the Scene View. You can use the mouse and manipulate any Gizmo axis to alter the Transform Component of the GameObject, or you can type values directly into the number fields of the Transform Component in the Inspector. • Click and drag in the center of the Gizmo to manipulate the object on all axes at once. • If you have a three button mouse, you can click the middle button to adjust the last-adjusted axis (which turns yellow) without clicking directly on it. • Be careful when using the scaling tool, as non-uniform scales (e.g. 1,2,1) can cause unusual scaling of child objects.
  • 15.
  • 16. 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.
  • 17. • Draw Mode The first drop-down is for choosing a Draw Mode. You can choose to view the entire scene Textured, Wireframe, Tex - Wire, Render Paths, or Lightmap Resolution. This has no effect on your game when it is published. Draw Mode drop-down: Textured shows surfaces with their textures on, like in the game. Wireframe shows the wireframes of the meshes in the scene. Tex - Wire shows wireframes on top of the textures. Render Paths shows which rendering paths objects are using. Green: deferred lighting, yellow: forward, red: vertex lit. Lightmap Resolution shows a checkered grid overlaid on the scene that corresponds to the resolution of the lightmaps, to make it easier to see if they have the right resolution.
  • 18. • Render Mode • The next drop-down is for choosing one of four Render Modes. You can choose to fill the Scene View with RGB, Alpha, Overdraw, or Mipmaps. Again, this will not affect your published game. • Render Mode drop-down : • RGB is simply all the colors of your game rendered as normal. • Alpha will render all alpha values for fine-tuning transparency or fullscreen effects that make use of alpha values. • Overdraw will indicate how much of the screen is consuming overdraw time. • Mipmaps shows ideal texture sizes -- red means the particular texture is larger than necessary (at the current distance and resolution), while blue means the texture could be larger. Of course ideal texture sizes depend on the resolution the game will run at, and how close the camera can get to the respective surfaces.
  • 19. • Scene Lighting, Game Overlay, and Audition Mode Enabling Scene Lighting will override the default Scene View lighting with whatever lights you have positioned to create your final light setup. Enabling Game Overlay will show items like Skyboxes and GUI Elements in the Scene View, and it will also hide the grid. Enabling Audition Mode will make AudioSources in the scene play so they can be heard without going into Play Mode.
  • 20. • 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.
  • 21. • 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.
  • 22. Game View Stats of your game.
  • 23.
  • 24. • 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.
  • 25. • 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. Click the question mark beside any Component name in the Inspector to load its Component Reference page.
  • 26. • 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.
  • 27. • Double-clicking an error in the Status Bar or choosing Window->Console will bring up the Console.
  • 28. • The Console shows messages, warnings, errors, or debug output from your game. You can define your own messages to be sent to the Console using Debug.Log(), Debug.LogWarning, or Debug.LogError(). You can double-click any message to be taken to the script that caused the message. You also have a number of options on the Console Toolbar. Console control toolbar helps your filter your debug output. Pressing Clear will remove all current messages from the Console. When Collapse is enabled, identical messages will only be shown once. When Clear on play is enabled, all messages will be removed from the Console every time you go into Play mode. When Error Pause is enabled, Debug.LogError() will cause the pause to occur but Debug.Log() will not. Pressing Open Player Log will open the Player Log in a text editor (or using the Console app on Mac). Pressing Open Player Log will open the Editor Log in a text editor
  • 29. • The Animation View in Unity allows you create and modify Animation Clips directly inside Unity. It is meant to be a powerful and easy tool that can supplement external 3D animation programs or even be used instead. It is great for creating simple Animation Clips, and has the added benefits of being able to animate variables of materials and components, and add Animation Events to Animation Clips that can call script functions at specific points in time