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 Script to set up scene

Discussion in 'Scripting' started by ojrade, Apr 26, 2023.

  1. ojrade

    ojrade

    Joined:
    Apr 25, 2023
    Posts:
    2
    Hi, I am trying to automize setting up a 3D enviroment for a project, so I was wondering if there was a way to use a script to add objects into a scene, and then give them the components and custom scripts they need to function. Is there a way to do this or any examples for how I should approach this, or is it just not possible? Any help would be appreciated
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,951
    ojrade likes this.
  3. ojrade

    ojrade

    Joined:
    Apr 25, 2023
    Posts:
    2
    Hi thanks so much for you help! This might be a little stupid, but I am still learning unity scripting, so I am not really sure what files I should be looking at in the makegeo code files. Would you be able to help me out there?