• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Health-deduction

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Toppcar_Whitlock asked

Hitpoints, what am I doing wrong here?

Aug 3, '20 in Help Room

0 Replies

0 Votes

avatar image

Constantin_d edited

How to make heart health system?

Jun 10, '20 collision detection·loadlevel·health·health-deduction

3 Replies

0 Votes

avatar image

Symbie edited

Enemies sharing health

May 20, '20 enemy·shooting·damage·health·health-deduction

2 Replies

0 Votes

avatar image

WoppelPoppel answered

How do I get the enemies to damage the player?

Apr 29, '20 health-deduction·enemydamage

1 Reply

0 Votes

avatar image

streeetwalker commented

Enemy dies in editor mode but not in build

Apr 1, '20 in Help Room

2 Replies

0 Votes

avatar image

RoniBoss commented

Adding Lives System to my game

Mar 10, '20 in Help Room

3 Replies

1 Votes

avatar image

Casiell answered

unity health bar not losing health

Dec 4, '19 gui·health·healthbar·health-deduction

1 Reply

0 Votes

avatar image

lachlan_orton commented

Integer value being constantly reset to original value after subtraction

Sep 12, '19 scripting problem·integer·health-deduction

2 Replies

0 Votes

avatar image

aoun111 edited

Need a simple health script

Jul 8, '19 in Help Room

1 Reply

0 Votes

avatar image

Magso commented

How can I make it so a bullet wont hurt a weakpoit until these object are disabled?

May 8, '19 ontriggerenter·health-deduction·shield

1 Reply

0 Votes

avatar image

BenBonkGames commented

Referencing playerHealth (from a separate script) in an if statement

May 5, '19 in Help Room

1 Reply

0 Votes

avatar image

IronBytes commented

How come my Player, Enemy, Animation & HealthSlider won't correspond to one another?

Apr 2, '19 animation·player·enemy·healthbar·health-deduction

1 Reply

0 Votes

avatar image

$$anonymous$$ asked

why doesn't my health script work?

Feb 27, '19 in Help Room

0 Replies

0 Votes

avatar image

TimeStopperGames commented

how to make enemy damage player?

Nov 4, '18 player·damage·health·enemy ai·health-deduction

1 Reply

1 Votes

avatar image

Zaeran answered

Health bar goes down instantly.

Oct 12, '18 update·health·healthbar·health-deduction·quick

1 Reply

0 Votes

avatar image

san0009 commented

what is wrong with this???? game is not restarting when hp is zero

May 21, '18 in Help Room

1 Reply

0 Votes

avatar image

jaguilar0047 asked

Health Code, Damage and Healing

May 9, '18 damage·health·healthbar·health-deduction

0 Replies

0 Votes

avatar image

Mitihalew commented

Wrong gameObject's health variable decrementing,not the one colliding.

May 5, '18 in Help Room

0 Replies

0 Votes

avatar image

Baktillus commented

Lose health and respawn after falling

Mar 23, '18 c#·respawning·fall·health-deduction·game over

2 Replies

0 Votes

avatar image

Sideswiper22 edited

Apply Damage Universally

Nov 14, '17 in Help Room

0 Replies

0 Votes

avatar image

MRDJR97 answered

SendMessage function not working

Nov 8, '17 in Help Room

1 Reply

0 Votes

avatar image

TanselAltinel answered

Throwing a rock, and making it cause damage

Oct 30, '17 c#·physics·raycasthit·health-deduction·throwing

1 Reply

0 Votes

avatar image

knorke answered

How to change width and color of a 2d sprite within script

Oct 2, '17 c#·2d game·script.·spriterenderer·health-deduction

1 Reply

0 Votes

avatar image

JKGameDev asked

I am making a FPS and I was wondering how i could make it so when the enemy gets close enough he starts to deal damage.

Aug 27, '17 health·enemy ai·health-deduction·enemy health·enemy damage

0 Replies

0 Votes

avatar image

Purplepigfarm answered

Display Hit Text On Collition

Aug 21, '17 c#·unity 5·2d game·text·health-deduction

1 Reply

0 Votes

avatar image

Purplepigfarm edited

Display Hit Text On Collition

Jul 7, '17 in Help Room

0 Replies

0 Votes

avatar image

anilthapliyal8024 published

How can I make my enemy attack me every few seconds?

May 22, '17 time·scripting beginner·attacking·health-deduction

3 Replies

0 Votes

avatar image

DeanoSwankie published

Unity javaScript player taking damage from enemy

May 5, '17 in Help Room

0 Replies

0 Votes

avatar image

RobAnthem answered

How do you get a function to 'check' a previous function has occurred in order to trigger a second function?

Feb 22, '17 destroy object·functions·respawning·health-deduction

1 Reply

0 Votes

avatar image

JeffHardddyyy commented

Instantiating a prefab and values

Feb 19, '17 c#·scripting problem·instantiate·value·health-deduction

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

health healthbar damage c# collision scripting problem unity 5 enemy player javascript shooting stats getcomponent collider 2d game text enemy health enemies nullreferenceexception character value multiple objects enemydamage enemy ai programming
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges