Skip to content

renameAnimatorState

renameAnimatorState(def, oldName, newName): AnimatorControllerDef

Defined in: animation/animatorGraph.ts:70

Rename a state. On top of the shared rewiring (initial + per-state transition targets) an animator also has any-state transitions to repoint.

AnimatorControllerDef

string

string

AnimatorControllerDef