Version: 2018.2
Experimental: this API is experimental and might be changed or removed in the future.

Scope.AcceptsElement

マニュアルに切り替える
public bool AcceptsElement (Experimental.UIElements.GraphView.GraphElement element, ref string reasonWhyNotAccepted);

パラメーター

elementThe element to add.
reasonWhyNotAcceptedThe reason why the specified element cannot be added to the Scope.

戻り値

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

説明

Whether the GraphElement can be added to this scope.