Reallly confused with prefabs

  • how do you get prefab linked with another prefabs in asset like: Rocket ship was linked with success particles, death particles in assets itself and then you deleted the original particles folders from the assets, cause when i tried to delete the original particle from assets, it just gone from the entire game…i had to reimport them ?
  • And also is prefab variant & prefab same ?
1 Like

Hi Nikhil,

You are using Unity 2019. A new prefab system was implemented in 2018.3. It’s much easier to use now than the old one. Treat your prefabs like you would treat a game object.

Assign the children of the rocket to the parent component, not anything else. If you assign a separate prefab, your code will access the prefab. Prefabs are not in the scene, thus you will not see anything if you call the Play method on a component attached to a prefab.

Does that make sense?

3 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms