Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to write a custom editor window that uses an array of transform to spawn a prefab.

Discussion in 'Editor Workflows' started by angeldevelopment, Dec 6, 2023.

  1. angeldevelopment


    Sep 28, 2022
    Well I have spent wayyy to long looking for this, and Im sure this will help someone else down the road. How can I have an editor window that exposes an array of transforms, so that I can easily copy them in, and then place a prefab in as well, and then click a button that says spawn so that I can spawn 100 objects without having the place them one by one in my scene. (And have them persist in the editor)

    Thanks in advanced!!!