기술 자료

Unity Engine

Unity Engine

AcceptsElement(GraphElement, ref string)

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

Definition

AcceptsElement(GraphElement, string)

public virtual bool AcceptsElement(GraphElement element, ref string reasonWhyNotAccepted)

Parameters

The element to add.

reasonWhyNotAccepted

The reason why the specified element cannot be added to the Scope.

Returns

Type

Description

boolReturns true if the specified element is accepted by the Scope. Returns false otherwise.