WithDefaultValue(TData)
Configures a default value of type TData to the input port.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
WithDefaultValue(T)
IInputPortBuilder<TData> WithDefaultValue(TData defaultValue)
Parameters
Returns
Type | Description |
|---|---|
| IInputPortBuilder<T> | An input port builder configured with the default value. |