3: Splitting Animations setup

Step 1:
Import your animated box (We looked how to create this here). If you havn't made your own you can import our downloadable asset. Select the imported fbx file in the project window to bring up it's setting in the Inspector Window.
quest003

Now select the Animations tab so we can split the animations contained within the fbx file into an idle animation and an open animation.
quest004

Step 2:
You will notice that we currently have one animation which lasts 36 frames. If you press play at the bottom of the inspector window it will show the full animation playing.
quest005

We now need to split the animations up so that we have two animations we can use in the Machanim Animator in the next step. This is done by slecting and editing the name of the animation, here we have called it IDLE_BOX and changed the end frame to 12.
quest006

Step 3:
To create the second animation click on the plus icon below our IDLE_BOX animation and name thios one OPEN_BOX , select the start frame to be 13 and the end frame to be 36. Click apply.
quest007

You can check that it has worked by opening up the box asset in the project window, and it will have two animation assets we can use.
quest008

Casino Bet 365 is best casino in the world.

What's Next

Next up for Unity Snippets is a look at game development articles from across the web...

Free Templates - bigtheme.net
Popular Art Betting make bookies articles.