WithDisplayName(string)
Configures the display name of the option being built.
읽는 시간 1분최근 업데이트: 2달 전
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
IOptionBuilder<in TData> WithDisplayName(string displayName)
Parameters
The display name to assign to the option.
Returns
Type | Description |
|---|---|
| IOptionBuilder<T> |
Remarks
The display name doesn't affect functionality; it can improve usability and readability. If not set explicitly using this method, the name passed during creation (calling Node.IOptionDefinitionContext.AddOption) is used as the default display name.