Help with ingame prefab objects

There are many prefabs inside of the game scene, and I would like to know how can I refer to them in code and instantiate them like regular game objects? I tried to find them and copy them to the scene, just like with other objects, but it just doesn't work.

Thanks for helping.

Screenshot_7.png
 

Latest News

What is the reason for your passion for sim racing?

  • Watching real motorsport

    Votes: 250 67.4%
  • Physics and mechanics

    Votes: 167 45.0%
  • Competition and adrenaline

    Votes: 179 48.2%
  • Practice for real racing

    Votes: 77 20.8%
  • Community and simracers

    Votes: 102 27.5%
Back
Top