Skip to content
pcodmiracles
  • Home
  • Coding Blogs
  • Coding Magazines
  • Coding Forums

Enemy

c# – Unity: Enemy cannot be damage if not using static variable for health

June 11, 2022 by admin

So I have a problem where my enemy cannot be damaged if I’m not using static variable for their health. But when using static variable if one of the enemy dies, the others die as well. The enemy doing damage to the player works ok, so I don’t know what causing the problem. Debug log … Read more

Categories Coding Forums Tags damage, Enemy, health, Static, Unity, variable Leave a comment

Recent Posts

  • Monitoring at the Edge of the Third Act of the Internet
  • How to Measure Product Success
  • ModuleNotFoundError: No module named ‘pytest’
  • How Can an App Show More POI Details to Users?
  • ModuleNotFoundError: No module named ‘requests’

Recent Comments

No comments to show.
  • About Us
  • Contact Us
  • DMCA
  • Privacy Policy
  • Terms & Conditions
© 2022 pcodmiracles • Built with GeneratePress