# Object Duplicator

January 2016 · Original project page

![The Obj Duplicator window in the Unity editor](https://pierabellaluca.com/assets/archive/object-duplicator/duplicator-window.jpg)

Often, when I have no special task I try to learn new skills, this tool goes back to the beginning of my experience with Unity. I found somewhere in the web a tutorial to write a tool to replace the objects, what is below is the result of this tutorial with the addition of a part of the subjective characteristics. This tool examines, in particular, a number of selected objects and replaces them with an array object, leaving the possibility to choose whether to copy all or selected attributes

![Three cubes in a Unity scene and the selected cube that will replace them](https://pierabellaluca.com/assets/archive/object-duplicator/before-replace.jpg)

![The same scene after the replacement: four identical cubes](https://pierabellaluca.com/assets/archive/object-duplicator/after-replace.jpg)

Another of the features added later to the tool is the ability to copy a certain object parametrically, specifying the number of instances to be duplicated in a direction and with an optional offset.

![The Obj Duplicator window and a row of five cubes duplicated with an offset](https://pierabellaluca.com/assets/archive/object-duplicator/duplicate-instances-1131.jpg)

## Let's talk.

Tell me about the pipeline, the workflow, the system, or the game. I answer every message myself.

- [hello@nephelos.com](mailto:hello@nephelos.com)
- [Book a call](https://cal.com/luca-pierabella/quick-chat)
- [LinkedIn](https://www.linkedin.com/in/luca-pierabella-93308413/)
- [GitHub](https://github.com/elpie89)

Luca Pierabella · Bordeaux, France

Writing: [Hectiq Devlog](https://hectiqgames.substack.com/)
