ドキュメント

Unity Engine

Unity Engine

AcceptsElement(GraphElement, ref string)

Whether an element can be added to this group.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

AcceptsElement(GraphElement, string)

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

Parameters

The element to add.

reasonWhyNotAccepted

The reason that indicates why the element is not accepted.

Returns

Type

Description

boolReturns false if the specified element is a scope or group. Otherwise returns true.