• 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

Lives

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

peregrine_unity published

How to Add Lives to My Main Character in 2D Game?,How to Add Lives to my Main Character?

Apr 11, '21 in Help Room

0 Replies

0 Votes

avatar image

AbandonedCrypt commented

How do i make a script that re-fills lives after 10min? Closed

Feb 15, '21 time·playerprefs·lives

2 Replies

0 Votes

avatar image

Reid_Taylor answered

how would I set up a regain health ui button

Sep 3, '20 ui·button·health·lives

1 Reply

0 Votes

avatar image

Blake0072 asked

How can i decrease lives?

Aug 28, '20 in Help Room

0 Replies

0 Votes

avatar image

Mike_Mitchley published

Hi, i have a lives system for my player but every time it gets hit by an enemy it loses 2 lives and not 1 ?

Jun 9, '20 lives

0 Replies

0 Votes

avatar image

Symbie asked

Deleting life object from scene

Jun 4, '20 scene-switching·delete·lives

0 Replies

0 Votes

avatar image

AlphaTails asked

Loading scene with a DontDestroyOnLoad

Apr 10, '20 in Help Room

0 Replies

0 Votes

avatar image

Priyanka-Rajwanshi answered

Saving Life And Updating in Game

Apr 1, '20 update·saving·start·lives

2 Replies

0 Votes

avatar image

RoniBoss commented

How to make player lose lives?

Mar 10, '20 how·number·lives·to·of

3 Replies

0 Votes

avatar image

st_asalak asked

How to subtract live when a game object destroy itself?

Jun 13, '19 in Help Room

0 Replies

0 Votes

avatar image

UltraGearGames answered

How to save player's lives using playerprefs while I load the same scene?

May 26, '19 playerprefs·reload·lives

2 Replies

0 Votes

avatar image

Sky_Games commented

Error In Lives While Respawning Closed

Aug 24, '18 scripting problem·error·scripting beginner·lives

1 Reply

0 Votes

avatar image

Jogile commented

cant stand in front of the platform after respawning

May 13, '18 in Help Room

1 Reply

0 Votes

avatar image

Rizzutp edited

Why OnCollisionEnter doesn't subtract properly player health

May 7, '18 oncollisionenter·health·lives·gamestate

1 Reply

0 Votes

avatar image

fraxinusexcelsior asked

Question concerning pacman tutorial.

Mar 19, '18 in Help Room

0 Replies

0 Votes

avatar image

unity_9d5-VgjizaCUeQ edited

How do you end the game and make the game over screen appear when health = 0 ?,How do I make my game over screen appear when the health of the player is lower then 0

Dec 23, '17 death·lives

1 Reply

0 Votes

avatar image

DasNanda commented

Death Zone Difficulties

Sep 30, '17 2d-platformer·reset·sidescroller·lives

1 Reply

0 Votes

avatar image

ShadoX commented

Lifes count resets with level

Aug 3, '17 in Help Room

0 Replies

0 Votes

avatar image

toddisarockstar edited

How can I make scripts work with other scripts

Jul 29, '17 c#·game·noob·gameover·lives

4 Replies

0 Votes

avatar image

Mcdsnte commented

how to setup health, respawn/checkpoint, lives systems

May 10, '17 c#·2d-platformer·health·respawning·lives

1 Reply

0 Votes

avatar image

lahc22 asked

How do you add player lives and end the game?

Feb 6, '17 in Help Room

0 Replies

0 Votes

avatar image

mrlafle answered

Having Trouble Incrementing an Integer

Dec 1, '16 in Help Room

1 Reply

0 Votes

avatar image

kkyriakos published

Character Lives?

Oct 11, '16 character·lives

2 Replies

0 Votes

avatar image

MIkeHewson86 answered

loosing lives not working when health bar =0 c#

Oct 10, '16 in Help Room

1 Reply

0 Votes

avatar image

Amart published

[ASK] adding Lives System to 2.5D side scroller

Oct 2, '16 2.5d·lives

0 Replies

0 Votes

avatar image

lehart answered

Decrease Lives on collision

Sep 26, '16 in Help Room

1 Reply

0 Votes

avatar image

Andrey-Postelzhuk answered

Editing score betwen scripts?

Sep 23, '16 scripting problem·if·lives

1 Reply

0 Votes

avatar image

Baktillus commented

Points and lifes C#

Sep 22, '16 ontriggerenter·dontdestroyonload·points·lives

0 Replies

0 Votes

avatar image

TayhaJoy asked

I'm trying to create a life system for my player but my codes not working, anyone got any ideas?

Sep 18, '16 in Help Room

0 Replies

0 Votes

avatar image

glady asked

game over script

Aug 7, '16 in Help Room

0 Replies

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

c# health gui death playerprefs life javascript respawn collision score counter reset gameover dead timer enemy position time 2d guitexture error scripting problem dontdestroyonload collider


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges