Good day all, i have used alot of time by figuring this out. And it will simply not work. Hope someone in here can help :)
The problem: I want my enemy gameObject to loose Health when i click on it and when 0, then die.
This is my script.
![alt text][1]
- I can see that it registers the ColliderBox , but when i click it will not loose health.
[1]: /storage/temp/54994-code.jpg
↧