Our objective will be to create a simple animation shimmer on the DeathZone
gameObject to communicate the fact that it's dangerous to the player.
Okay, the first thing that I'm gonna need to do to create my animation
is select the DeathZone game object.
Of course I can find it in the environment, but
we haven't actually used the hierarchy search, so let's go ahead and do that.
So up here at the top of the hierarchy I can just start typing Death and
there it is.
It basically modifies the hierarchy just to select or
just to highlight the things that we're searching for.
If I cancel out, it will actually show the entire hierarchy and
show the actual object that I selected, which is a nice feature.
One other nice editor thing that we haven't looked at yet
is actually full screening panes.
So with your mouse, over one of the areas of the editor,
you can just hit Shift + Spacebar.
And it basically makes the scene view, in this case, full screen.
And of course, I can do all the things that I do with the scene view, and
then hit Shift + Spacebar to go back.
If I want to highlight the hierarchy, I can do Shift + Spacebar over
the hierarchy and it makes that full screen, Shift+space to reduce that.
So there's some other nice editor things that you can pick up along the way.
So we're gonna create an animation.
So the game object is selected and
the way that we create an animation is through the animation system.
We haven't looked at that yet so
let's go ahead to the window and you can see there's animation right here.
So we're gonna open up the animation window which is Cmd+6 or
Ctrl+6 on Windows.
This is a pretty straight forward animation editor as we'll see.
It says to begin animating DeathZone create an Animator and an Animation Clip.
So the way that animation works is it attaches an Animator component
to the game object, and
then the Animator component uses Animation Clips to actually create the animation.
We'll be looking at animations in much more detail down the road,
but we're just gonna create a simple animation today.
So let me go ahead and click Create.