Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Resolved [URGENT] Saving Best time, so displayed in another scene

Discussion in 'Editor & General Support' started by zanesickerdick, Sep 23, 2020.

  1. zanesickerdick

    zanesickerdick

    Joined:
    May 27, 2019
    Posts:
    5
    Hi, ive been working on a project for a number of months and wish to add a leaderboard taking the best time from the game scene. i have watched many tutorials but i cant seem to get any to work. I would greatly appreciate anyone that can help me out. I have linked my entire project and would love to hear if there are anyways i can get this to work. Thankyou for your time!

    https://drive.google.com/file/d/1LurO2gaGCN08nGXmjDeSFFAB4-cOPmXy/view?usp=sharing
     
  2. bobisgod234

    bobisgod234

    Joined:
    Nov 15, 2016
    Posts:
    862
    What about the tutorials you tried didn't work? Try to do one of them, and if you run into a problem, then ask here why it's not working.

    I noticed you asked pretty much the same question in another thread a few days ago. Did you try any of Yoreki's solution?
    It would seem the simplest solution is just to make fastestLapTime static, and then you can access it from any scene.

    Some general forum posting advice:

    Stating something is "urgent" without an explanation will just make people wonder why you think you should be helped above other people.

    Nobody is going to download your project and implement your feature for you on the forums. That is what Unity Connect is for.
     
unityunity