Version: 2022.2
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

StackNode.AcceptsElement

매뉴얼로 전환
protected bool AcceptsElement (Experimental.GraphView.GraphElement element, ref int proposedIndex, int maxIndex);

파라미터

element The element to add.
proposedIndex The index where the element would be added. This index can be overwritten.
maxIndex The maximum value of the index.

반환

bool Returns true if the specified GraphElement can be added. Returns false otherwise.

설명

Checks whether the specified GraphElement can be added to this StackNode.