This seems to happen when I have a
Basically, the script won't even touch ApplyDamage(). If I put a print statement inside the function, it gives me nothing in the console.
Anyone have any ideas? Thanks!
asked Apr 18 '11 at 12:03 AM
Most likely it's the same as c# - you'll need to use StartCoroutine(ApplyDamage()); to call the function, as js is the only language which does that implicitly
answered Apr 18 '11 at 12:27 AM