Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Having trouble instantiating prefabs at multiple areas at once (Bolt).

Discussion in 'Visual Scripting' started by KiritoSAO2, Feb 15, 2023.

  1. KiritoSAO2


    Mar 16, 2016
    I'm trying make prefabs instantiate on top of another prefab that's already been instantiated in multiple places. The first prefab (Prefab1) is instantiated when the player buys a plot of land (Prefab1 instantiates in the spot the player selected). Then, when the player hits a button, another prefab (Prefab2) is supposed to instantiate at each plot of land that is occupied by Prefab1. However, when I first tried it, each Prefab2 clone would instantiate at around x: 0, y: -30, z: 0.

    Any suggestions on how to fix this? I'm kinda lost. :confused:

    Keep in mind that I'm using Bolt and Unity 2D.