ドキュメント

Unity Engine

Unity Engine

StateAttribute

Initializes a new instance of the StateAttribute class.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

StateAttribute(string)

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

Parameters

categoryPath

The category path of the state in the graph item library.

StateAttribute(string, string)

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

Parameters

categoryPath

The category path of the state in the graph item library.

iconPath

The file path to the state's icon.

StateAttribute(string, string, string)

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

Parameters

categoryPath

The category path of the state in the graph item library.

iconPath

The file path to the state's icon.

title

The title of the state in the graph item library. It is also used as the title of this state when it is instantiated in a graph.

StateAttribute(string, string, string, string)

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

Parameters

categoryPath

The category path of the state in the graph item library.

iconPath

The file path to the state's icon.

title

The title of the state in the graph item library. It is also used as the title of this state when it is instantiated in a graph.

stylesheet

Path to a stylesheet (.uss) used to customize the state's VisualElement appearance.