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);

参数

element要添加的元素。
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.