Search Unity

Question Can I attach a prefab to an existing object in the editor?

Discussion in 'Prefabs' started by GrayLightGames, May 24, 2020.

  1. GrayLightGames

    GrayLightGames

    Joined:
    Jan 14, 2015
    Posts:
    30
    I have an unpacked object in my scene that I want to attach to an existing prefab. It has the same structure as the prefab, just some of the components are configured and linked to the scene. Ideally, any attributes that are different between the object and the prefab would retain the objects settings as override values.

    Currently, the only way I'm doing this is to pull a new prefab instance into the scene and replace the existing object... but that means I have to manually link the new instance where it is referenced in the scene, reconfigure buttons that call scene object functions and manually position the instance. Would be much easier and less chance for error if I could just link the object to the prefab.

    Is that possible?
     
  2. Sylvyrrock

    Sylvyrrock

    Joined:
    Aug 19, 2022
    Posts:
    1
    Don't really want to revive dead thread, but if you found any solutions could you please share it ? :)
     
  3. Peter_Olsted

    Peter_Olsted

    Unity Technologies

    Joined:
    Apr 19, 2021
    Posts:
    75