Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Discussion What's the best way to serialize "reference" to prefab?

Discussion in 'Editor & General Support' started by aguskos, Nov 3, 2022.

  1. aguskos

    aguskos

    Joined:
    Jan 17, 2017
    Posts:
    5
    How do you serialize reference to prefab?
    Some ways to do this
    Having SO with prefabs and access them by some id and saving this id.
    Having prefabs in resources folder and save path than load
    Using addressables and custom serialization to save addressable to string than load it.
     
  2. karmdeepdarbar0001

    karmdeepdarbar0001

    Joined:
    Sep 22, 2021
    Posts:
    8
    I made reference to my object but i can not get excess to that object data in my input field