Legacy Documentation: Version 5.0
Language: English
  • 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 function CreateAnimatorControllerAtPath(path: string): Animations.AnimatorController;

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.