Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimatorController.CreateAnimatorControllerAtPath

Switch to Manual
public static Animations.AnimatorController CreateAnimatorControllerAtPath(string path);

Parameters

path The path where the AnimatorController asset will be created.

Returns

AnimatorController The created AnimationController or null if an error occured.

Description

Creates an AnimatorController at the given path.

An example showing usage of this API can be found at the AnimatorController page.