How create Tool in Project area

Hi all,

I’m making a game about trains, I realized in 3d the rails(straight and curved), and finally I’ve imported into Unity.
Now the hardest thing is to hook and align them with precision so as to realize levels.

I ask you, if is possible create a script / tool that works in the “Scene” (project area) and allows you to drag and attach the rails when they are close (a kind of magnet effect) for the design the levels … how can I do?

Thank you for your support.

use V key for attaching objects together vertex by vertex.

  1. Hold V key

  2. Click and hold on a corner of an object

  3. As you mouse it, it will snap to vertices of other objects