文档

Unity Engine

Unity Engine

RemoveState(AnimatorState)

Utility function to remove a state from the state machine.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void RemoveState(AnimatorState state)

Parameters

The state to remove.

Remarks

If the state is a sub asset of the state machine, it will be deleted. This function pushes an Undo operation.