simple-scroll-snap
simple-scroll-snap copied to clipboard
Change pictures and instantiate at runtime.
Hi,
I am using your Unity asset Simple Scroll Snap in a project. Firstly, the asset is great, and thanks for making it free. In the project that I am working on, the pictures get instantiated at runtime and every time it's enabled it should check the latest number of pictures but I keep getting the error from the second time that "The RectTransform is destroyed but you are still trying to access it". I have tried moving the start function script to OnEnable but no luck. Can you please guide me on what I can do to achieve it?
Thanks in advance