setHealth
Sets the health property of the Game Object to the given amount.
Will never exceed the maxHealth
value.
- Source code: gameobjects/components/Health.js (Line 70)
setHealth
Sets the health property of the Game Object to the given amount.
Will never exceed the maxHealth
value.
Please login to continue.