Unity-UI-Extensions.GitHub.io

UILineConnector

A Line Renderer helper used to draw a chain between multiple gameObjects, like a node connector


Contents

1 Overview

2 Properties

3 Methods

4 Usage

5 Video Demo

6 See also

7 Credits and Donation

8 External links


Overview

The UI Line Connector, allows you Override the Line Renderer control to build a line connecting the selected GameObjects.

This produces a Node connector style effect between the provided UI GameObjects.

Depends on the UI Line Renderer component

Note The Lines depend on the Pivot’s of the Main Canvas, Line Renderer and the Selected GameObjects. Adjust as required. ———

Properties

The properties of the UILineConnector control are as follows:

Property Description
Transforms The List of GameObjects to connect lines between

Requires Line Renderer Component


Usage

The UILineConnector is available as a Game Component menu in “UI / Extensions / UI Line Connector”. This will also add the UI Line Renderer component by default


Video Demo

Click to play

UI Line Connector Demo


See also


Credits and Donation

Credit Alastair Aitchison


Sourced from - https://bitbucket.org/UnityUIExtensions/unity-ui-extensions/issues/123/uilinerenderer-issues-with-specifying