Version: 2018.4
AI in Unity 5.0
Audio in Unity 5.0

Animation in Unity 5.0

These are notes to be aware of when upgrading projects from Unity 4 to Unity 5, if your project uses animation features.

Asset Creation API

In 5.0 we introduced an API that allows you to build and edit Mecanim assetsAny media or data that can be used in your game or Project. An asset may come from a file created outside of Unity, such as a 3D model, an audio file or an image. You can also create some asset types in Unity, such as an Animator Controller, an Audio Mixer or a Render Texture. More info
See in Glossary
in the editor. For users that have previously used the unsupported API (in UnityEditorInternal namespace) you will need to manually update your scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary
to use the new API.

Here is a short list of the most encountered type changes :

Previous: New:
UnityEditorInternal.BlendTree UnityEditor.Animations.BlendTree
UnityEditorInternal.AnimatorController UnityEditor.Animations.AnimatorController
UnityEditorInternal.StateMachine UnityEditor.Animations.AnimatorStateMachine
UnityEditorInternal.State UnityEditor.Animations.AnimatorState
UnityEditorInternal.AnimatorControllerLayer UnityEditor.Animations.AnimatorControllerLayer
UnityEditorInternal.AnimatorControllerParameter UnityEditor.Animations.AnimatorControllerParameter

Also note that most accessor functions have been changed to arrays:

UnityEditorInternal.AnimatorControllerLayer layer = animatorController.GetLayer(index);


UnityEditor.Animations.AnimatorControllerLayer layer = animatorController.layers[index];

A basic example of API usage is given at the end of this blog post:–5–0/

For more details refer the the Scripting API documentation.

AI in Unity 5.0
Audio in Unity 5.0