Select your preferred scripting language. All code snippets will be displayed in this language.
interface in UnityEngine.SocialPlatforms
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseInformation for a user's achievement.
This defines the relation between a particular achievement (described by
IAchievementDescription) and the local user, what progress they have, last date they reported progress and so on.
Use Social.CreateAchievement to create an instance of this object.
completed | Set to true when percentCompleted is 100.0. |
hidden | This achievement is currently hidden from the user. |
id | The unique identifier of this achievement. |
lastReportedDate | Set by server when percentCompleted is updated. |
percentCompleted | Progress for this achievement. |
ReportProgress | Send notification about progress on this achievement. |