기술 자료

Unity Engine

Unity Engine

TransitionAttribute

Initializes a new instance of the TransitionAttribute class.
읽는 시간 1분최근 업데이트: 2달 전

Definition

TransitionAttribute(string)

Initializes a new instance of the TransitionAttribute class.
public TransitionAttribute(string categoryPath)

Parameters

categoryPath

The category path used to place the transition in the
Create Self Transition
menu.

TransitionAttribute(string, string)

Initializes a new instance of the TransitionAttribute class.
public TransitionAttribute(string categoryPath, string iconPath)

Parameters

categoryPath

The category path used to place the transition in the
Create Self Transition
menu.

iconPath

The file path to the transition's icon.

TransitionAttribute(string, string, string)

Initializes a new instance of the TransitionAttribute class.
public TransitionAttribute(string categoryPath, string iconPath, string title)

Parameters

categoryPath

The category path used to place the transition in the
Create Self Transition
menu.

iconPath

The file path to the transition's icon.

title

The title displayed for the transition type.