WidgetOutputAddConnection Method (GameObject, String) |
Add a connect to a given object and optional target input.
Namespace:
IBM.Watson.DeveloperCloud.Widgets
Assembly:
unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax public bool AddConnection(
GameObject targetObject,
string targetConnection = null
)
Parameters
- targetObject
- Type: GameObject
The object to target. - targetConnection (Optional)
- Type: SystemString
A optional argument of the target input on the object.
Return Value
Type:
BooleanReturns true if a Connection object was added.
See Also