Wiki

Clone wiki

Unity-UI-Extensions / Controls / UILineConnector

UILineConnector

==============

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


Contents

1 Overview

2 Properties

3 Usage

4 Video Demo

5 See also

6 Credits and Donation

7 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


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

Updated