ドキュメント

Unity Engine

Unity Engine

CreateAnimatorControllerAtPathWithClip(string, AnimationClip)

Creates an AnimatorController at the given path, and automatically create an AnimatorLayer with an AnimatorStateMachine that will add a State with the AnimationClip in it.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static AnimatorController CreateAnimatorControllerAtPathWithClip(string path, AnimationClip clip)

Parameters

path

The path where the AnimatorController will be created.

The default clip that will be played by the AnimatorController.

Returns

Type

Description

AnimatorController

Remarks

This function pushes an Undo operation.