Set up prefabs for animation and batching Unity 4.3


show more Setting up prefabs for animation and batching provides you with in-depth training on 3D + Animation. Taught by Adam Crespi as part of the Unity 4.3 Essential Training show less
please wait ...

Setting up prefabs for animation and batching

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 mo...

Setting up prefabs for animation and batching
Video duration: 5m 8s 6h 49m Beginner

Viewers:

Setting up prefabs for animation and batching provides you with in-depth training on 3D + Animation. Taught by Adam Crespi as part of the Unity 4.3 Essential Training

Subjects:
3D + Animation Developer
Software:
Unity
Author:
please wait ...