Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 DNDJ · May 17, 2014 at 11:43 PM · beginnerplayerprefssavingleaderboardscoreboard

Absolute most basic ranking/scoreboard functionality

Hi. I'm extremely new to Unity/scripting/game making, and creating a first/test project, a simple time attack racing game. My knowledge is limited to the recorded live training videos, other tutorials, and Google. So far my experience has been good, as through my fumbling I've managed to get a driving feel I'm satisfied with, a countdown, timer, etc.

I'm at the point where I need to figure out how to create/save/load times recorded at the finish line, possibly along with a name. I've searched around and taken a look at a lot of guides, including the data persistence video on this site, and everything is either too advanced for my understanding, or doesn't quite relate/help me with what I'm trying to do.

I just want to grab the time from the finish trigger and save it into an ordered list, then load that list to add to it in future instances and/or display it via the menu/gui (all locally). I don't care if it's just writing the data to playerprefs and pulling it back out, I just want to get the basic functionality working. Can anyone point me in the direction of any relevant scripting lessons that would relate to this type of thing? Also I'm using C#. Thanks for any help!

I would also appreciate any resources for scripting (C#) in general, especially if they are similar to the live training Unity does.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by getyour411 · May 17, 2014 at 11:43 PM

http://lmgtfy.com/?q=unity3d+using+playerprefs+tut

http://unity3d.com/learn/tutorials/modules/intermediate/scripting/lists-and-dictionaries

http://stackoverflow.com/questions/1034282/find-highest-integer-in-a-generic-list-using-c

Comment
Add comment · Share
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

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.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

it is Playerprefs can use in saving highscore and both PC having this can same see data in Highscores? 0 Answers

How do i imports my variable to another variable and save it with PlayerPrefs? 0 Answers

PlayerPrefs saving script is not working 2 Answers

store/rearrange integers for a basic scoreboard with C# 2 Answers

Leaderboard / scoreboard UI design and programming 0 Answers


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