Navigation
API > API/Editor > API/Editor/BehaviorTreeEditor > API/Editor/BehaviorTreeEditor/UEdGraphSchema_BehaviorTree
- UEdGraphSchema::CanCreateConnection()
- UEdGraphSchema_BehaviorTree::CanCreateConnection()
References
| Module | BehaviorTreeEditor |
| Header | /Engine/Source/Editor/BehaviorTreeEditor/Classes/EdGraphSchema_BehaviorTree.h |
| Include | #include "EdGraphSchema_BehaviorTree.h" |
| Source | /Engine/Source/Editor/BehaviorTreeEditor/Private/EdGraphSchema_BehaviorTree.cpp |
virtual const FPinConnectionResponse CanCreateConnection
&40;
const UEdGraphPin &42; A,
const UEdGraphPin &42; B
&41; const
Remarks
Determine if a connection can be created between two pins. An empty string if the connection is legal, otherwise a message describing why the connection would fail.
Parameters
| Name | Description |
|---|---|
| A | The first pin. |
| B | The second pin. |