- Home /
Suggestions for player evolution
I'm a beginner unity developer. I want to make my player to be able to evolve to multiple forms. Which method is better? instantiating the evolved prefab and deleting the game object of the current form. Or through Animation Layer by changing their layer weight? Or is there any better approach?
Answer by tormentoarmagedoom · Sep 28, 2017 at 08:39 AM
Good day @Masukami !
You are asking big things.. xd but i will try to help.
As i suppose, as player evolves, get new stats/powers/capacities ....
If there are no a lot of evolutions, i recommend you to create diferent GameObjects for each evolution. This way, each evoution can have diferent scripts for each power, and will be more "easy" for you to do this scripts.
You only need to Destroy the old player and Instantiate the new one
By animation, you will have to do a more complex scripts checking all time the evolve situation, etc... i feel is easy make a script for each power.
If helped, Accept the answer :D !
BYE :D:D
Hahah it is a big thing! xD
Yea i thought of that too. Would be the easiest way to do it. But you know, maybe there's a better way to do it hence the question. Thank you so much torment! :D