기술 자료

Unity Engine

Download Unity

Unity Engine

RemoveStateMachineTransition(AnimatorStateMachine, AnimatorTransition)

Utility function to remove an outgoing transition from source state machine.
읽는 시간 1분최근 업데이트: 2달 전

Definition

public bool RemoveStateMachineTransition(AnimatorStateMachine sourceStateMachine, AnimatorTransition transition)

Parameters

sourceStateMachine

The source state machine.

The transition to remove.

Returns

Type

Description

bool

Remarks

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