AcceptsElement(GraphElement, ref string)
Whether the GraphElement can be added to this scope.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
AcceptsElement(GraphElement, string)
public virtual bool AcceptsElement(GraphElement element, ref string reasonWhyNotAccepted)
Parameters
The element to add.
The reason why the specified element cannot be added to the Scope.
Returns
Type | Description |
|---|---|
| bool | Returns true if the specified element is accepted by the Scope. Returns false otherwise. |