기술 자료

Unity Engine

Unity Engine

AcceptsElement(GraphElement, ref int, int)

Checks whether the specified GraphElement can be added to this StackNode.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

AcceptsElement(GraphElement, int, int)

protected virtual bool AcceptsElement(GraphElement element, ref int proposedIndex, int maxIndex)

Parameters

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.

Returns

Type

Description

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