- Home /
Instantiate on value change
I've search an answer for this simple question but didn't found something really helpful. In my project I have a script with a simple int variable "Damage" that store the amount of Damage the character receive everytime he gets hit by a trap. I just want to instantiate a damage text each time his "Health" value change. I thought this would be really easy, something like Damage.OnValueChange... But I can't figure out how to do that !
Answer by DDeathlonger · Aug 29, 2018 at 01:28 PM
Duplicate to: https://answers.unity.com/questions/1547625/instantiate-on-value-change-1.html
I recommend deleting this post. (I'll be responding there though)
Follow this Question
Related Questions
Instantiate on value change 4 Answers
My Photon health script doesnt work 2 Answers
Photon Combat script does not work 0 Answers
(C#) Enemy health and take damage from bullets 1 Answer
Take health from enemy 3 Answers