Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

AnimatorController.CreateAnimatorControllerAtPath

public static Animations.AnimatorController CreateAnimatorControllerAtPath(string path);

Parameters

pathThe 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.

Did you find this page useful? Please give it a rating: