- Home /
Drag & Drop Components in the Editor
Is it possible to drag and drop components from one object (from the inspector) to another (in the hierarchy view)?
I think it is not, but it would be very handy e.g. for copying scripts with lots of assigned variables when editing the hierarchy.
(Maybe I have to write a Copy/Paste editor script.)
Answer by yoyo · Jan 11, 2011 at 10:45 PM
Not out of the box, but you can find copy/paste editor scripts on the forums and elsewhere. Here's one from AngryAnt ...
Thanks for the link ... but maybe someone else has an idea?!
Your answer
![](https://koobas.hobune.stream/wayback/20220613095017im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Execute Code When Component Added 6 Answers
Add two components of the same type using RequireComponent attribute 1 Answer
Only one component of type on a Gameobject at a time 2 Answers
DragAndDrop class 1 Answer
Change GUITexture component/script 0 Answers