Closed Boezienko closed 3 months ago
We've been trying to do everything in the prefab loader. Next time try to maybe see if we can pull the Avatar from the GameManager. Another thing we could try is instead of replacing the prefabs, maybe see if we can just change out the sprite.
We fixed it by not swaping the prefabs, but rather just changing the sprites
When making a custom game, we are swapping out 'Prey' and 'Predator' child game objects, and each of these have various components with their own, unique properties. The Avatar script is one such property. We are having issues transferring the original child game object's Avatar property to the new game object's Avatar property.