…Animation is what we use to bring life to a game.…We've had a glimpse of it using physics to make art we can…knock over, and now we're going to make components that are ready to animate.…I want to look at the nature of prefabs and batching here in unity first…and what that means, and how we should set up to animate a lot of objects.…I'll go over to my game window.…And, here in the game, I've turned on maximize on play and statistics.…What this shows for us is the number of draw calls.…The number of times, we're asking the graphics card to display something.…
And then, the number saved by batching, or defining an object once.…And then, referencing it again.…When I hit play, we can see that…draw call number change depending on where we're looking.…If we're looking in a gallery and we can't really…see out too many windows the draw calls are low.…We're saving 61 or 59 by batching and then as we turn around we can see…the draw calls shoot up because we're looking…at more objects but we're batching a greater number.…
Author
Released
3/10/2014- Designing the game
- Creating and transforming objects
- Importing and configuring models and textures
- Setting properties in the Inspector
- Creating the terrain geometry
- Building materials and adding shaders
- Creating GameObjects
- Exploring physics
- Animating objects
- Lighting the scene
- Creating 2D game elements
- Adding special effects
Skill Level Beginner
Duration
Views
Related Courses
-
Unity: Materials and Lighting
with Adam Crespi2h 20m Intermediate
-
1. Introduction
-
Welcome38s
-
Using the exercise files1m 24s
-
-
2. Navigating the Interface
-
Designing the game4m 39s
-
Setting the project4m 9s
-
-
3. Working with Imported Assets
-
Organizing the Assets window2m 55s
-
-
4. Creating the Game Environment
-
Publishing project settings5m 32s
-
Adding sky and fog8m 17s
-
5. Creating Terrain
-
Forming the topography9m 53s
-
Painting trees and forests10m 55s
-
Painting detail meshes8m 45s
-
Adjusting terrain settings7m 34s
-
6. Materials and Shaders
-
Handling multiple materials7m 13s
-
Manipulating textures5m 20s
-
Creating lit materials6m 18s
-
7. Working with GameObjects and Components
-
Creating GameObjects5m 2s
-
Understanding components6m 15s
-
Using colliders for barriers6m 22s
-
Exploring physics8m 22s
-
-
8. Keyframing Animation
-
Animating an object6m 32s
-
9. Animating Skinned Meshes and Controlling Characters in Mecanim
-
Importing skinned meshes4m 51s
-
-
10. Lighting the Scene
-
Customizing ambient light2m 59s
-
Adding spot and point lights4m 25s
-
Using point lights for fill4m 30s
-
-
11. Introducing Unity Scripting
-
Using correct script syntax6m 33s
-
12. Creating 2D Game Elements
-
Setting up a 2D project3m 13s
-
Importing sprites2m 30s
-
Creating 2D colliders3m 12s
-
Adding 2D physics2m 25s
-
Animating 2D elements3m 29s
-
-
13. Adding Image Effects
-
Adding depth of field8m 40s
-
Applying motion blur5m 46s
-
Tuning color for mood6m 2s
-
14. Adding Special Effects and Audio
-
Exploring water effects7m 35s
-
Working with wind zones2m 8s
-
Using an audio source4m 3s
-
Creating a sound zone5m 58s
-
Triggering audio3m 37s
-
Adding audio effects3m 13s
-
Creating particle systems2m 25s
-
Adjusting particle systems9m 14s
-
-
15. Building the Game
-
Setting up occlusion culling5m 52s
-
Building the executable5m 36s
-
-
16. Conclusion
-
Next steps49s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Setting up prefabs for animation and batching