Search Unity

Question How do I save data in scrollview when I move the scene in unity?

Discussion in 'AR' started by gyeongyun, Jun 18, 2022.

  1. gyeongyun

    gyeongyun

    Joined:
    Jun 19, 2021
    Posts:
    8
    When I registered in scene 1, I saved the images in the scroll view of scene 2.
    Because it happens between two scenes, when I go back to scene 1 and register, the image is not saved, but continues to be stored in the first slot instead of in the second slot.

    How do I save the scene in order to the slot in the scrollview even if I move it? (So that it doesn't disappear even if I come back from another scene)

    I tried using 'Don Destroy On Load' but it doesn't work.