기술 자료

Unity Engine

Unity Engine

WithConnectorUI(PortConnectorUI)

Configures the connector UI shape for the port being built.
읽는 시간 1분최근 업데이트: 2달 전

Definition

T WithConnectorUI(PortConnectorUI connectorUI)

Parameters

connectorUI

The PortConnectorUI shape to use.

Returns

Type

Description

TThe current builder instance for method chaining.

Remarks

Use this method to control the appearance of the port’s connector in the UI. The PortConnectorUI enum provides options such as PortConnectorUI.Circle or PortConnectorUI.Arrowhead. These shapes help users visually distinguish between different kinds of ports or flows. This setting affects only the UI and does not impact port behavior or connectivity. Call this method before IPortBuilder<T>.Build() to ensure the selected style is applied to the constructed port.