i'm trying to make a score text that goes up whenever the player kills an enemy but the text wont update from zero
i have created a public text in an enemy prefab and as text i've also used a prefab
![alt text][1]
and here is my script![alt text][2]
i've conducted some tests and figured out that the float enemieskilled does update
[1]: /storage/temp/202050-aughhhhhhhhhh.png
[2]: /storage/temp/202052-bugs.png
↧