기술 자료

Unity Engine

Unity Engine

Node(InfoAttribute, T)

Constructor of the node element with the given attribute.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public Node(InfoAttribute info, T data = default)

Parameters

Either ElementInfoAttribute for leaf nodes or CategoryInfoAttribute for category nodes.

data

T
The data holding the element. Category nodes have null data as they only have chldren.