I need help for carrying objects to the next scene. When i use prefab ôr dontdestroyonload i get some issues about assaigning variable. For example when i use enemy in the 2nd scene i lose the target (player) because its not assigned due to scene difference and its not working with prefabs too or i cant.
What is the best way of carrying or instantiating without losing any target or variable.(player, enemy, canvas) if the solution is prefab how can i assign not parent things to prefab. Can someone explain.