Legacy Documentation: Version 2017.2 (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

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答