I tried to add couple lines of script that would allow me to access the Health variable in the script of the enemy that I hit, but it isn't really working. I've tried a few different things, but the problem is I don't know what to put after "hit.collider.gameobject._____".
So I asked a question on the forums.
Hopefully I'll get an answer by tomorrow. If so, I'll be able to continue it.
No comments:
Post a Comment