A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
I think controllers are a great idea in general. But I've also come up with this solution that helps with values that need initializing after...
Yeah this does make sense. It might well be too much given the enemies don't level up. Maybe base stats isn't the best name. It actually...
Great post, thanks so much for replying. I think you've gone above and beyond with your reply. I've certainly got something to mull over and chew...
Thank you both lordofduct and Suddoha for your indepth replies. I decided to have a go at refactoring towards a controller for the...
Also, my Health component relies on the BaseStats component later on in its lifecycle too, not just in initialisation. It registers for events and...
Yup that's what I thought was meant. I can see that the controller makes the injection of data easier to change without refactoring. However, it...
True, I was just considering making a separate Init method that can support being reentrant. That init could be called in Start but also before...
Doesn't help if you have a chain of initialisation to do like my example.
I'm running into a similar situation. I have 3 components: Health, BaseStats and Experience. XP variable of the Experience component is...