• 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
  • Home /
avatar image
0
Question by Dabbash · Sep 11, 2016 at 05:18 PM · gameover

Continue play if the game is over

Hi, I'm about finishing my first game and thanks for every one who helped me.

Just I have a small question about continue play when the game is over, what I mean is when the player die, the game over screen is appear and there will be two button, one of them that if I watch the video I can continue the game, but only one time.

I tried to do IEnumerator but it is not working..

Is there someone can help me

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Vandarthul · Sep 11, 2016 at 10:23 PM 1
Share

Perhaps you should elaborate your problem here. Are you asking for a good practical way to implement that situation or are you encountering a problem that you couldn't solve? And if you give a bit more information about your game, it would be easier for us to understand the problem and help you here.

avatar image Dabbash Vandarthul · Sep 12, 2016 at 03:13 AM 0
Share

Sorry, I'm not that good in english, what I'm asking for is best way to implement this situation

avatar image Vandarthul · Sep 12, 2016 at 08:33 PM 0
Share

Well, it highly depends on your type of game actually. If you are looking for a way to "pause" your game and if all of your game components depend on time.DeltaTime, you can set time.Timescale to 0 to "pause" game without much efford. Or you can 0 all your animation speed and "pause" your game again.

It would be smarter of you to first pause your game before actually running dying script, if player selects not to watch the video then you run dying script etc. etc.

Since your question is highly conteptual my comment can only be conceptual. You need to ask more specific questions if you want a specific answer.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

gameover script 2 Answers

How do I give an option to retry a level or return to a level selection menu opposed to just restarting the level? 1 Answer

Game Over Screen appears on launch.,Something with my script makes it so that everytime I run it a gameover happens 1 Answer

How to set a game-over scene when an object hits another? 0 Answers

how do i make a gameover gui appear 1 Answer


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