Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TransitionAttribute

Initializes a new instance of the TransitionAttribute class.
Read time 1 minuteLast updated 7 days ago

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.