-
Book Overview & Buying
-
Table Of Contents
Creating E-Learning Games with Unity
By :
While Mechanim is the preferred tool for character animations, it is not well suited to all of our animation needs. Unity provides a general-purpose animation tool that lets us script the position, orientation, and even the state of public variables on other scripts. This tool is well suited for simple animated objects and other in-game choreography. It uses a simpler non-visual animation system to play the animation but it still has many uses. Let's use this tool to add some animation to the starting banner.
Left-click on pole2 of the GiantFlagStart Prefab instance.
Go to the Window menu and select Animation.
You will be presented with a timeline editor window, which will look similar to the following screenshot:

The animation editor window presents the user with a tool to author and preview custom animations inside of the Unity tool itself (rather than inside of a 3D modeling package). These animations can be applied to any GameObject that has public properties...
Change the font size
Change margin width
Change background colour